Package org.rocksdb

Enum HistogramType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<HistogramType>

    public enum HistogramType
    extends java.lang.Enum<HistogramType>
    • Enum Constant Detail

      • COMPACTION_TIME

        public static final HistogramType COMPACTION_TIME
      • SUBCOMPACTION_SETUP_TIME

        public static final HistogramType SUBCOMPACTION_SETUP_TIME
      • TABLE_SYNC_MICROS

        public static final HistogramType TABLE_SYNC_MICROS
      • COMPACTION_OUTFILE_SYNC_MICROS

        public static final HistogramType COMPACTION_OUTFILE_SYNC_MICROS
      • WAL_FILE_SYNC_MICROS

        public static final HistogramType WAL_FILE_SYNC_MICROS
      • MANIFEST_FILE_SYNC_MICROS

        public static final HistogramType MANIFEST_FILE_SYNC_MICROS
      • TABLE_OPEN_IO_MICROS

        public static final HistogramType TABLE_OPEN_IO_MICROS
        TIME SPENT IN IO DURING TABLE OPEN.
      • READ_BLOCK_COMPACTION_MICROS

        public static final HistogramType READ_BLOCK_COMPACTION_MICROS
      • READ_BLOCK_GET_MICROS

        public static final HistogramType READ_BLOCK_GET_MICROS
      • WRITE_RAW_BLOCK_MICROS

        public static final HistogramType WRITE_RAW_BLOCK_MICROS
      • STALL_L0_SLOWDOWN_COUNT

        public static final HistogramType STALL_L0_SLOWDOWN_COUNT
      • STALL_MEMTABLE_COMPACTION_COUNT

        public static final HistogramType STALL_MEMTABLE_COMPACTION_COUNT
      • STALL_L0_NUM_FILES_COUNT

        public static final HistogramType STALL_L0_NUM_FILES_COUNT
      • HARD_RATE_LIMIT_DELAY_COUNT

        public static final HistogramType HARD_RATE_LIMIT_DELAY_COUNT
      • SOFT_RATE_LIMIT_DELAY_COUNT

        public static final HistogramType SOFT_RATE_LIMIT_DELAY_COUNT
      • NUM_FILES_IN_SINGLE_COMPACTION

        public static final HistogramType NUM_FILES_IN_SINGLE_COMPACTION
      • SST_READ_MICROS

        public static final HistogramType SST_READ_MICROS
      • NUM_SUBCOMPACTIONS_SCHEDULED

        public static final HistogramType NUM_SUBCOMPACTIONS_SCHEDULED
        The number of subcompactions actually scheduled during a compaction.
      • BYTES_PER_READ

        public static final HistogramType BYTES_PER_READ
        Value size distribution in each operation.
      • BYTES_PER_WRITE

        public static final HistogramType BYTES_PER_WRITE
      • BYTES_PER_MULTIGET

        public static final HistogramType BYTES_PER_MULTIGET
      • BYTES_COMPRESSED

        public static final HistogramType BYTES_COMPRESSED
        number of bytes compressed.
      • BYTES_DECOMPRESSED

        public static final HistogramType BYTES_DECOMPRESSED
        number of bytes decompressed. number of bytes is when uncompressed; i.e. before/after respectively
      • COMPRESSION_TIMES_NANOS

        public static final HistogramType COMPRESSION_TIMES_NANOS
      • DECOMPRESSION_TIMES_NANOS

        public static final HistogramType DECOMPRESSION_TIMES_NANOS
      • READ_NUM_MERGE_OPERANDS

        public static final HistogramType READ_NUM_MERGE_OPERANDS
      • FLUSH_TIME

        public static final HistogramType FLUSH_TIME
        Time spent flushing memtable to disk.
      • BLOB_DB_KEY_SIZE

        public static final HistogramType BLOB_DB_KEY_SIZE
        Size of keys written to BlobDB.
      • BLOB_DB_VALUE_SIZE

        public static final HistogramType BLOB_DB_VALUE_SIZE
        Size of values written to BlobDB.
      • BLOB_DB_WRITE_MICROS

        public static final HistogramType BLOB_DB_WRITE_MICROS
        BlobDB Put/PutWithTTL/PutUntil/Write latency.
      • BLOB_DB_GET_MICROS

        public static final HistogramType BLOB_DB_GET_MICROS
        BlobDB Get lagency.
      • BLOB_DB_MULTIGET_MICROS

        public static final HistogramType BLOB_DB_MULTIGET_MICROS
        BlobDB MultiGet latency.
      • BLOB_DB_SEEK_MICROS

        public static final HistogramType BLOB_DB_SEEK_MICROS
        BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency.
      • BLOB_DB_NEXT_MICROS

        public static final HistogramType BLOB_DB_NEXT_MICROS
        BlobDB Next latency.
      • BLOB_DB_PREV_MICROS

        public static final HistogramType BLOB_DB_PREV_MICROS
        BlobDB Prev latency.
      • BLOB_DB_BLOB_FILE_WRITE_MICROS

        public static final HistogramType BLOB_DB_BLOB_FILE_WRITE_MICROS
        Blob file write latency.
      • BLOB_DB_BLOB_FILE_READ_MICROS

        public static final HistogramType BLOB_DB_BLOB_FILE_READ_MICROS
        Blob file read latency.
      • BLOB_DB_BLOB_FILE_SYNC_MICROS

        public static final HistogramType BLOB_DB_BLOB_FILE_SYNC_MICROS
        Blob file sync latency.
      • BLOB_DB_GC_MICROS

        public static final HistogramType BLOB_DB_GC_MICROS
        BlobDB garbage collection time.
      • BLOB_DB_COMPRESSION_MICROS

        public static final HistogramType BLOB_DB_COMPRESSION_MICROS
        BlobDB compression time.
      • BLOB_DB_DECOMPRESSION_MICROS

        public static final HistogramType BLOB_DB_DECOMPRESSION_MICROS
        BlobDB decompression time.
      • NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL

        public static final HistogramType NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL
        Num of Index and Filter blocks read from file system per level in MultiGet request
      • NUM_DATA_BLOCKS_READ_PER_LEVEL

        public static final HistogramType NUM_DATA_BLOCKS_READ_PER_LEVEL
        Num of Data blocks read from file system per level in MultiGet request.
      • NUM_SST_READ_PER_LEVEL

        public static final HistogramType NUM_SST_READ_PER_LEVEL
        Num of SST files read from file system per level in MultiGet request.
      • ERROR_HANDLER_AUTORESUME_RETRY_COUNT

        public static final HistogramType ERROR_HANDLER_AUTORESUME_RETRY_COUNT
        The number of retry in auto resume
      • HISTOGRAM_ENUM_MAX

        public static final HistogramType HISTOGRAM_ENUM_MAX
    • Method Detail

      • values

        public static HistogramType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HistogramType c : HistogramType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HistogramType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public byte getValue()
        Returns the byte value of the enumerations value
        Returns:
        byte representation
      • getHistogramType

        public static HistogramType getHistogramType​(byte value)
        Get Histogram type by byte value.
        Parameters:
        value - byte representation of HistogramType.
        Returns:
        HistogramType instance.
        Throws:
        java.lang.IllegalArgumentException - if an invalid value is provided.