[][src]Module rocks::listener

EventListener class contains a set of call-back functions that will be called when specific RocksDB event happens such as flush.

Structs

CompactionEvent

A single compaction event for an easy listener callback.

CompactionJobInfo
ExternalFileIngestionInfo
FlushJobInfo
MemTableInfo
TableFileCreationBriefInfo
TableFileCreationInfo
TableFileDeletionInfo

Enums

BackgroundErrorReason

Reason for a background error, used in event listener

CompactionListenerValueType
CompactionReason

Reason for a compaction job, used in CompactionJobInfo

TableFileCreationReason

Traits

CompactionEventListener

A call-back function to RocksDB which will be called when the compaction iterator is compacting values. It is mean to be returned from EventListner::GetCompactionEventListner() at the beginning of compaction job.

EventListener

EventListener class contains a set of call-back functions that will be called when specific RocksDB event happens such as flush. It can be used as a building block for developing custom features such as stats-collector or external compaction algorithm.