]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/main/java/org/rocksdb/ChecksumType.java
e03fa14bace847762dac049ef838d49fdd94a50e
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),
32 * Returns the byte value of the enumerations value
34 * @return byte representation
36 public byte getValue() {
40 private ChecksumType(final byte value
) {
44 private final byte value_
;