org.hsqldb.persist
Interface CachedObject
-
- All Known Implementing Classes:
- BitMapCachedObject, CachedObjectBase, DirectoryBlockCachedObject, IntArrayCachedObject, NodeAVL, NodeAVLDisk, NodeAVLDiskLarge, Row, RowAVL, RowAVLDisk, RowAVLDiskData, RowAVLDiskLarge, RowDiskDataChange
public interface CachedObjectInterface for an object stored in the memory cache.- Since:
- 1.8.0
-
-
Field Summary
Fields Modifier and Type Field and Description static CachedObject[]emptyArray
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voiddestroy()intgetAccessCount()intgetDefaultCapacity()longgetPos()intgetRealSize(RowOutputInterface out)intgetStorageSize()booleanhasChanged()booleanisBlock()booleanisInMemory()booleanisKeepInMemory()booleanisMemory()booleanisNew()booleankeepInMemory(boolean keep)voidread(RowInputInterface in)voidrestore()voidsetInMemory(boolean in)voidsetPos(long pos)voidsetStorageSize(int size)voidupdateAccessCount(int count)voidwrite(RowOutputInterface out)voidwrite(RowOutputInterface out, LongLookup lookup)
-
-
-
Field Detail
-
emptyArray
static final CachedObject[] emptyArray
-
-
Method Detail
-
isMemory
boolean isMemory()
-
updateAccessCount
void updateAccessCount(int count)
-
getAccessCount
int getAccessCount()
-
setStorageSize
void setStorageSize(int size)
-
getStorageSize
int getStorageSize()
-
isBlock
boolean isBlock()
-
getPos
long getPos()
-
setPos
void setPos(long pos)
-
isNew
boolean isNew()
-
hasChanged
boolean hasChanged()
-
isKeepInMemory
boolean isKeepInMemory()
-
keepInMemory
boolean keepInMemory(boolean keep)
-
isInMemory
boolean isInMemory()
-
setInMemory
void setInMemory(boolean in)
-
restore
void restore()
-
destroy
void destroy()
-
getRealSize
int getRealSize(RowOutputInterface out)
-
read
void read(RowInputInterface in)
-
getDefaultCapacity
int getDefaultCapacity()
-
write
void write(RowOutputInterface out)
-
write
void write(RowOutputInterface out, LongLookup lookup)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG