Class RocksDBStorageEngineStats
java.lang.Object
com.linkedin.davinci.store.rocksdb.RocksDBStorageEngineStats
- All Implemented Interfaces:
StorageEngineStats
-
Constructor Summary
ConstructorsConstructorDescriptionRocksDBStorageEngineStats
(String storeDbPath, LongSupplier getRMDSizeInBytes, LongSupplier getDuplicateKeyCountEstimate, LongSupplier getKeyCountEstimate, BooleanSupplier hasMemorySpaceLeft) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
boolean
-
Constructor Details
-
RocksDBStorageEngineStats
public RocksDBStorageEngineStats(String storeDbPath, LongSupplier getRMDSizeInBytes, LongSupplier getDuplicateKeyCountEstimate, LongSupplier getKeyCountEstimate, BooleanSupplier hasMemorySpaceLeft)
-
-
Method Details
-
getStoreSizeInBytes
public long getStoreSizeInBytes()- Specified by:
getStoreSizeInBytes
in interfaceStorageEngineStats
-
getCachedStoreSizeInBytes
public long getCachedStoreSizeInBytes()- Specified by:
getCachedStoreSizeInBytes
in interfaceStorageEngineStats
-
getRMDSizeInBytes
public long getRMDSizeInBytes()- Specified by:
getRMDSizeInBytes
in interfaceStorageEngineStats
-
getCachedRMDSizeInBytes
public long getCachedRMDSizeInBytes()- Specified by:
getCachedRMDSizeInBytes
in interfaceStorageEngineStats
-
hasMemorySpaceLeft
public boolean hasMemorySpaceLeft()- Specified by:
hasMemorySpaceLeft
in interfaceStorageEngineStats
-
getDuplicateKeyCountEstimate
public long getDuplicateKeyCountEstimate()- Specified by:
getDuplicateKeyCountEstimate
in interfaceStorageEngineStats
-
getKeyCountEstimate
public long getKeyCountEstimate()- Specified by:
getKeyCountEstimate
in interfaceStorageEngineStats
-