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(java.io.DataInputStream inputStream) |
protected void |
write(java.io.DataOutputStream outputStream) |
blockCorruptedException, getBlock, getNextPos, getPos, setBlockprotected int getSize()
getSize in class BlockPayloadprotected int getType()
getType in class BlockPayloadprotected void read(java.io.DataInputStream inputStream)
throws java.lang.Exception
read in class BlockPayloadjava.lang.Exceptionprotected void write(java.io.DataOutputStream outputStream)
throws java.lang.Exception
write in class BlockPayloadjava.lang.Exceptionpublic void add(BlockPointer pos, int size)
public void alloc(Block block)
Copyright © 2013. All rights reserved