CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::RocksPruningFilter::RocksPruningFilterImpl Class Referencefinal
Inheritance diagram for catapult::cache::RocksPruningFilter::RocksPruningFilterImpl:
Collaboration diagram for catapult::cache::RocksPruningFilter::RocksPruningFilterImpl:

Public Member Functions

const char * Name () const override
 
bool Filter (int, const rocksdb::Slice &key, const rocksdb::Slice &, std::string *, bool *) const override
 
bool IgnoreSnapshots () const override
 
uint64_t pruningBoundary () const
 
size_t numRemoved () const
 
void setPruningBoundary (uint64_t compactionBoundary)
 

Private Attributes

std::atomic< uint64_t > m_compactionBoundary
 
std::atomic< size_t > m_numRemoved
 

Member Function Documentation

◆ Filter()

bool catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::Filter ( int  ,
const rocksdb::Slice &  key,
const rocksdb::Slice &  ,
std::string *  ,
bool *   
) const
inlineoverride

◆ IgnoreSnapshots()

bool catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::IgnoreSnapshots ( ) const
inlineoverride

◆ Name()

const char* catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::Name ( ) const
inlineoverride

◆ numRemoved()

size_t catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::numRemoved ( ) const
inline

◆ pruningBoundary()

uint64_t catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::pruningBoundary ( ) const
inline

◆ setPruningBoundary()

void catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::setPruningBoundary ( uint64_t  compactionBoundary)
inline

Member Data Documentation

◆ m_compactionBoundary

std::atomic<uint64_t> catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::m_compactionBoundary
private

◆ m_numRemoved

std::atomic<size_t> catapult::cache::RocksPruningFilter::RocksPruningFilterImpl::m_numRemoved
mutableprivate

The documentation for this class was generated from the following file: