Package org.teiid.common.buffer.impl
Interface BlockManager
-
public interface BlockManager
Represents an INode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuffer
allocateBlock(int index)
int
free(boolean acquireDataBlock)
void
freeBlock(int index)
ByteBuffer
getBlock(int index)
Get the block for a given index.int
getInode()
-
-
-
Method Detail
-
getInode
int getInode()
-
allocateBlock
ByteBuffer allocateBlock(int index)
-
getBlock
ByteBuffer getBlock(int index)
Get the block for a given index. Returns null if the block does not exist.- Parameters:
index
-- Returns:
-
freeBlock
void freeBlock(int index)
-
free
int free(boolean acquireDataBlock)
-
-