public class PageStreamTrunk extends Page
changeCount, FLAG_LAST, TYPE_BTREE_LEAF, TYPE_BTREE_NODE, TYPE_DATA_LEAF, TYPE_DATA_NODE, TYPE_DATA_OVERFLOW, TYPE_EMPTY, TYPE_FREE_LIST, TYPE_STREAM_DATA, TYPE_STREAM_TRUNKcacheChained, cacheNext, cachePrevious| Modifier and Type | Method and Description |
|---|---|
boolean |
canMove()
If this page can be moved.
|
boolean |
canRemove()
Check if the object can be removed from the cache.
|
int |
getMemory()
Get the estimated memory size.
|
int |
getNextTrunk() |
void |
moveTo(Session session,
int newPos)
Copy the data to a new location, change the parent to point to the new
location, and free up the current page.
|
java.lang.String |
toString() |
void |
write()
Write the page.
|
compareTo, getPos, isChanged, isStream, setChanged, setPospublic void write()
Pagepublic int getMemory()
getMemory in class CacheObjectpublic void moveTo(Session session, int newPos)
Pagepublic int getNextTrunk()
public boolean canRemove()
CacheObjectcanRemove in class CacheObjectpublic java.lang.String toString()
toString in class java.lang.Object