Method Summary |
|
public boolean | allocate() Allocates the block for a query. |
void | close() Called when the block is removed from the cache. |
public void | commit() Handle any database writes necessary at commit time. |
final public void | free() Frees a block from a query. |
protected void | freeImpl() Frees any resources. |
public long | getBlockId() Returns the block's id. |
abstract public byte[] | getBuffer() Returns the block's buffer. |
public Lock | getLock() |
Store | getStore() Returns the block's table. |
public void | invalidate() Marks the block's data as invalid. |
public boolean | isDirty() |
public boolean | isFlushDirtyOnCommit() Returns true if the block should be flushed on a commit. |
public boolean | isFree() Return true if this is a free block. |
public void | read() Reads into the block. |
public void | setDirty(int min, int max) |
public void | setFlushDirtyOnCommit(boolean isFlush) True if the block should be flushed on a commit. |
final public void | syncRemoveEvent() Called when the block is removed from the cache. |
public String | toString() |
void | validate() Marks the data as valid. |
public void | write() |
protected void | writeImpl(int offset, int length) Write the dirty block. |