Class RocksDBMemoryStats

  • public class RocksDBMemoryStats
    extends AbstractVeniceStats
    Class that exposes RocksDB memory consumption stats based on all properties that are made available in Properties exist on a per RockDB database basis (equivalent to a Venice partition). This class aggregates across the partitions and emits aggregate stats
    • Constructor Detail

      • RocksDBMemoryStats

        public RocksDBMemoryStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                  java.lang.String name,
                                  boolean plainTableEnabled)
    • Method Detail

      • setMemoryLimit

        public void setMemoryLimit​(long memoryLimit)
      • setSstFileManager

        public void setSstFileManager​(org.rocksdb.SstFileManager sstFileManager)
      • registerPartition

        public void registerPartition​(java.lang.String partitionName,
                                      RocksDBStoragePartition rocksDBPartition)
      • deregisterPartition

        public void deregisterPartition​(java.lang.String partitionName)