]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/main/java/org/rocksdb/ChecksumType.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).
9 * Checksum types used in conjunction with BlockBasedTable.
11 public enum ChecksumType
{
13 * Not implemented yet.
15 kNoChecksum((byte) 0),
26 * Returns the byte value of the enumerations value
28 * @return byte representation
30 public byte getValue() {
34 private ChecksumType(byte value
) {
38 private final byte value_
;