public class FreeListBlockStore.FreeListBlock extends BlockPayload
| Constructor and Description |
|---|
FreeListBlockStore.FreeListBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BlockPointer pos,
int size) |
void |
alloc(Block block) |
protected int |
getSize() |
protected int |
getType() |
protected void |
read(DataInputStream inputStream) |
protected void |
write(DataOutputStream outputStream) |
blockCorruptedException, getBlock, getNextPos, getPos, setBlockprotected int getSize()
getSize in class BlockPayloadprotected int getType()
getType in class BlockPayloadprotected void read(DataInputStream inputStream) throws Exception
read in class BlockPayloadExceptionprotected void write(DataOutputStream outputStream) throws Exception
write in class BlockPayloadExceptionpublic void add(BlockPointer pos, int size)
public void alloc(Block block)
Copyright © 2013. All rights reserved