]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/main/java/org/rocksdb/SizeApproximationFlag.java
1 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
8 * {@link RocksDB#getApproximateSizes(ColumnFamilyHandle, List, SizeApproximationFlag...)}
9 * that specify whether memtable stats should be included,
10 * or file stats approximation or both.
12 public enum SizeApproximationFlag
{
14 INCLUDE_MEMTABLES((byte)0x1),
15 INCLUDE_FILES((byte)0x2);
17 private final byte value
;
19 SizeApproximationFlag(final byte value
) {
24 * Get the internal byte representation.
26 * @return the internal representation.