]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/main/java/org/rocksdb/HistogramType.java
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under both the GPLv2 (found in the
3 // COPYING file in the root directory) and Apache 2.0 License
4 // (found in the LICENSE.Apache file in the root directory).
8 public enum HistogramType
{
14 COMPACTION_TIME((byte) 0x2),
16 SUBCOMPACTION_SETUP_TIME((byte) 0x3),
18 TABLE_SYNC_MICROS((byte) 0x4),
20 COMPACTION_OUTFILE_SYNC_MICROS((byte) 0x5),
22 WAL_FILE_SYNC_MICROS((byte) 0x6),
24 MANIFEST_FILE_SYNC_MICROS((byte) 0x7),
27 * TIME SPENT IN IO DURING TABLE OPEN.
29 TABLE_OPEN_IO_MICROS((byte) 0x8),
31 DB_MULTIGET((byte) 0x9),
33 READ_BLOCK_COMPACTION_MICROS((byte) 0xA),
35 READ_BLOCK_GET_MICROS((byte) 0xB),
37 WRITE_RAW_BLOCK_MICROS((byte) 0xC),
39 STALL_L0_SLOWDOWN_COUNT((byte) 0xD),
41 STALL_MEMTABLE_COMPACTION_COUNT((byte) 0xE),
43 STALL_L0_NUM_FILES_COUNT((byte) 0xF),
45 HARD_RATE_LIMIT_DELAY_COUNT((byte) 0x10),
47 SOFT_RATE_LIMIT_DELAY_COUNT((byte) 0x11),
49 NUM_FILES_IN_SINGLE_COMPACTION((byte) 0x12),
53 WRITE_STALL((byte) 0x14),
55 SST_READ_MICROS((byte) 0x15),
58 * The number of subcompactions actually scheduled during a compaction.
60 NUM_SUBCOMPACTIONS_SCHEDULED((byte) 0x16),
63 * Value size distribution in each operation.
65 BYTES_PER_READ((byte) 0x17),
66 BYTES_PER_WRITE((byte) 0x18),
67 BYTES_PER_MULTIGET((byte) 0x19),
70 * number of bytes compressed.
72 BYTES_COMPRESSED((byte) 0x1A),
75 * number of bytes decompressed.
77 * number of bytes is when uncompressed; i.e. before/after respectively
79 BYTES_DECOMPRESSED((byte) 0x1B),
81 COMPRESSION_TIMES_NANOS((byte) 0x1C),
83 DECOMPRESSION_TIMES_NANOS((byte) 0x1D),
85 READ_NUM_MERGE_OPERANDS((byte) 0x1E),
87 HISTOGRAM_ENUM_MAX((byte) 0x1F);
89 private final byte value
;
91 HistogramType(final byte value
) {
95 public byte getValue() {