Package org.rocksdb
Enum Class HistogramType
- All Implemented Interfaces:
Serializable,Comparable<HistogramType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWait time for aborting async read in FilePrefetchBuffer destructorBlob file read latency.Blob file sync latency.Blob file write latency.BlobDB compression time.BlobDB decompression time.BlobDB Get lagency.Size of keys written to BlobDB.BlobDB MultiGet latency.BlobDB Next latency.BlobDB Prev latency.BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency.Size of values written to BlobDB.BlobDB Put/PutWithTTL/PutUntil/Write latency.Value size distribution in each operation.The number of retry in auto resumeTime spent flushing memtable to disk.Size of a single IO batch issued by MultiGetNum of Index and Filter blocks read from file system per level in MultiGet requestNum of LSM levels read from file system per MultiGet request.Num of SST files read from file system per level in MultiGet request.The number of subcompactions actually scheduled during a compaction.Number of prefetched bytes discarded by RocksDB.Number of MultiGet batch keys overlapping a fileTIME SPENT IN IO DURING TABLE OPEN.Number of bytes read for RocksDB's prefetching contents (as opposed to file system's prefetch) from the end of SST table during block based table open -
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramTypegetHistogramType(byte value) Get Histogram type by byte value.bytegetValue()Returns the byte value of the enumerations valuestatic HistogramTypeReturns the enum constant of this class with the specified name.static HistogramType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DB_GET
-
DB_WRITE
-
COMPACTION_TIME
-
COMPACTION_CPU_TIME
-
SUBCOMPACTION_SETUP_TIME
-
TABLE_SYNC_MICROS
-
COMPACTION_OUTFILE_SYNC_MICROS
-
WAL_FILE_SYNC_MICROS
-
MANIFEST_FILE_SYNC_MICROS
-
TABLE_OPEN_IO_MICROS
TIME SPENT IN IO DURING TABLE OPEN. -
DB_MULTIGET
-
READ_BLOCK_COMPACTION_MICROS
-
READ_BLOCK_GET_MICROS
-
WRITE_RAW_BLOCK_MICROS
-
NUM_FILES_IN_SINGLE_COMPACTION
-
DB_SEEK
-
WRITE_STALL
-
SST_READ_MICROS
-
FILE_READ_FLUSH_MICROS
-
FILE_READ_COMPACTION_MICROS
-
FILE_READ_DB_OPEN_MICROS
-
FILE_READ_GET_MICROS
-
FILE_READ_MULTIGET_MICROS
-
FILE_READ_DB_ITERATOR_MICROS
-
FILE_READ_VERIFY_DB_CHECKSUM_MICROS
-
FILE_READ_VERIFY_FILE_CHECKSUMS_MICROS
-
SST_WRITE_MICROS
-
FILE_WRITE_FLUSH_MICROS
-
FILE_WRITE_COMPACTION_MICROS
-
FILE_WRITE_DB_OPEN_MICROS
-
NUM_SUBCOMPACTIONS_SCHEDULED
The number of subcompactions actually scheduled during a compaction. -
BYTES_PER_READ
Value size distribution in each operation. -
BYTES_PER_WRITE
-
BYTES_PER_MULTIGET
-
COMPRESSION_TIMES_NANOS
-
DECOMPRESSION_TIMES_NANOS
-
READ_NUM_MERGE_OPERANDS
-
BLOB_DB_KEY_SIZE
Size of keys written to BlobDB. -
BLOB_DB_VALUE_SIZE
Size of values written to BlobDB. -
BLOB_DB_WRITE_MICROS
BlobDB Put/PutWithTTL/PutUntil/Write latency. -
BLOB_DB_GET_MICROS
BlobDB Get lagency. -
BLOB_DB_MULTIGET_MICROS
BlobDB MultiGet latency. -
BLOB_DB_SEEK_MICROS
BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency. -
BLOB_DB_NEXT_MICROS
BlobDB Next latency. -
BLOB_DB_PREV_MICROS
BlobDB Prev latency. -
BLOB_DB_BLOB_FILE_WRITE_MICROS
Blob file write latency. -
BLOB_DB_BLOB_FILE_READ_MICROS
Blob file read latency. -
BLOB_DB_BLOB_FILE_SYNC_MICROS
Blob file sync latency. -
BLOB_DB_COMPRESSION_MICROS
BlobDB compression time. -
BLOB_DB_DECOMPRESSION_MICROS
BlobDB decompression time. -
FLUSH_TIME
Time spent flushing memtable to disk. -
SST_BATCH_SIZE
Number of MultiGet batch keys overlapping a file -
MULTIGET_IO_BATCH_SIZE
Size of a single IO batch issued by MultiGet -
NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL
Num of Index and Filter blocks read from file system per level in MultiGet request -
NUM_SST_READ_PER_LEVEL
Num of SST files read from file system per level in MultiGet request. -
NUM_LEVEL_READ_PER_MULTIGET
Num of LSM levels read from file system per MultiGet request. -
ERROR_HANDLER_AUTORESUME_RETRY_COUNT
The number of retry in auto resume -
ASYNC_READ_BYTES
-
POLL_WAIT_MICROS
-
PREFETCHED_BYTES_DISCARDED
Number of prefetched bytes discarded by RocksDB. -
ASYNC_PREFETCH_ABORT_MICROS
Wait time for aborting async read in FilePrefetchBuffer destructor -
TABLE_OPEN_PREFETCH_TAIL_READ_BYTES
Number of bytes read for RocksDB's prefetching contents (as opposed to file system's prefetch) from the end of SST table during block based table open -
HISTOGRAM_ENUM_MAX
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public byte getValue()Returns the byte value of the enumerations value- Returns:
- byte representation
-
getHistogramType
Get Histogram type by byte value.- Parameters:
value- byte representation of HistogramType.- Returns:
HistogramTypeinstance.- Throws:
IllegalArgumentException- if an invalid value is provided.
-