com.caucho.db.store
Class ReadBlock

java.lang.Object
  extended by com.caucho.db.store.Block
      extended by com.caucho.db.store.ReadBlock
All Implemented Interfaces:
SyncCacheListener

public class ReadBlock
extends Block

Represents a versioned row


Field Summary
 
Fields inherited from class com.caucho.db.store.Block
_freeBuffers
 
Method Summary
protected  void freeImpl()
          Called when the block is removed from the cache.
 byte[] getBuffer()
          Returns the block's buffer.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.db.store.Block
allocate, commit, free, getBlockId, getLock, invalidate, isDirty, isFlushDirtyOnCommit, isFree, read, setDirty, setFlushDirtyOnCommit, syncRemoveEvent, write, writeImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBuffer

public byte[] getBuffer()
Returns the block's buffer.

Specified by:
getBuffer in class Block

freeImpl

protected void freeImpl()
Called when the block is removed from the cache.

Overrides:
freeImpl in class Block

toString

public java.lang.String toString()
Overrides:
toString in class Block