CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::RocksPruningFilter Class Referencefinal

Rocks pruning filter. More...

Classes

class  RocksPruningFilterImpl
 

Public Member Functions

 RocksPruningFilter (FilterPruningMode pruningMode=FilterPruningMode::Disabled)
 Creates rocks pruning filter with optional pruningMode. More...
 
 ~RocksPruningFilter ()
 Destroys rocks pruning filter. More...
 
rocksdb::CompactionFilter * compactionFilter ()
 Returns underlying compaction filter. More...
 
uint64_t pruningBoundary () const
 Returns pruning boundary. More...
 
size_t numRemoved () const
 Returns number of pruned entries since last prune. More...
 
void setPruningBoundary (uint64_t pruningBoundary)
 Sets pruning boundary. More...
 

Private Attributes

std::unique_ptr< RocksPruningFilterImplm_pImpl
 

Detailed Description

Rocks pruning filter.

Constructor & Destructor Documentation

◆ RocksPruningFilter()

catapult::cache::RocksPruningFilter::RocksPruningFilter ( FilterPruningMode  pruningMode = FilterPruningMode::Disabled)
explicit

Creates rocks pruning filter with optional pruningMode.

◆ ~RocksPruningFilter()

catapult::cache::RocksPruningFilter::~RocksPruningFilter ( )
default

Destroys rocks pruning filter.

Member Function Documentation

◆ compactionFilter()

rocksdb::CompactionFilter * catapult::cache::RocksPruningFilter::compactionFilter ( )

Returns underlying compaction filter.

Here is the caller graph for this function:

◆ numRemoved()

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

Returns number of pruned entries since last prune.

Here is the caller graph for this function:

◆ pruningBoundary()

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

Returns pruning boundary.

◆ setPruningBoundary()

void catapult::cache::RocksPruningFilter::setPruningBoundary ( uint64_t  pruningBoundary)

Sets pruning boundary.

Here is the caller graph for this function:

Member Data Documentation

◆ m_pImpl

std::unique_ptr<RocksPruningFilterImpl> catapult::cache::RocksPruningFilter::m_pImpl
private

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