@InterfaceAudience.Private public class ZKMetadata extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
ID_LENGTH_OFFSET |
private static int |
ID_LENGTH_SIZE |
private static byte |
MAGIC |
private static int |
MAGIC_SIZE |
Modifier | Constructor and Description |
---|---|
private |
ZKMetadata() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
appendMetaData(byte[] id,
byte[] data) |
static byte[] |
removeMetaData(byte[] data) |
private static final byte MAGIC
private static final int MAGIC_SIZE
private static final int ID_LENGTH_OFFSET
private static final int ID_LENGTH_SIZE
private ZKMetadata()
public static byte[] appendMetaData(byte[] id, byte[] data)
public static byte[] removeMetaData(byte[] data)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.