public class BlockHandle extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ENCODED_LENGTH |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getDataSize() |
int |
getFullBlockSize() |
long |
getOffset() |
int |
hashCode() |
static BlockHandle |
readBlockHandle(SliceInput sliceInput) |
String |
toString() |
static Slice |
writeBlockHandle(BlockHandle blockHandle) |
static void |
writeBlockHandleTo(BlockHandle blockHandle,
SliceOutput sliceOutput) |
public static final int MAX_ENCODED_LENGTH
public long getOffset()
public int getDataSize()
public int getFullBlockSize()
public static BlockHandle readBlockHandle(SliceInput sliceInput)
public static Slice writeBlockHandle(BlockHandle blockHandle)
public static void writeBlockHandleTo(BlockHandle blockHandle, SliceOutput sliceOutput)
Copyright © 2011–2019. All rights reserved.