| |
|
| java.lang.Object org.h2.util.CacheObject
All known Subclasses: org.h2.util.CacheHead, org.h2.store.Record,
CacheObject | abstract public class CacheObject (Code) | | The base object for all cached objects.
|
blockCount | protected int blockCount(Code) | | The number of blocks occupied by this object.
|
cacheQueue | public int cacheQueue(Code) | | |
canRemove | abstract public boolean canRemove()(Code) | | Check if the object can be removed from the cache.
For example pinned objects can not be removed.
true if it can be removed |
getBlockCount | public int getBlockCount()(Code) | | |
getMemorySize | public int getMemorySize()(Code) | | Get the estimated memory size.
number of double words (4 bytes) |
getPos | public int getPos()(Code) | | |
isChanged | public boolean isChanged()(Code) | | |
isPinned | public boolean isPinned()(Code) | | |
setBlockCount | public void setBlockCount(int size)(Code) | | |
setChanged | public void setChanged(boolean b)(Code) | | |
setPos | public void setPos(int pos)(Code) | | |
|
|
|