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_TRUNK
cacheChained, 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.
|
String |
toString() |
void |
write()
Write the page.
|
compareTo, getPos, isChanged, isStream, setChanged, setPos
public void write()
Page
public int getMemory()
getMemory
in class CacheObject
public void moveTo(Session session, int newPos)
Page
public int getNextTrunk()
public boolean canRemove()
CacheObject
canRemove
in class CacheObject
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.