public class PageDataOverflow 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 |
canRemove()
Check if the object can be removed from the cache.
|
int |
getMemory()
Get the estimated memory size.
|
boolean |
isStream() |
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.
|
static Page |
read(PageStore store,
Data data,
int pageId)
Read an overflow page.
|
String |
toString() |
void |
write()
Write the page.
|
add, canMove, insert, insert, insert, remove, remove, remove
compareTo, getPos, isChanged, setChanged, setPos
public static Page read(PageStore store, Data data, int pageId)
store
- the page storedata
- the datapageId
- the page idpublic void write()
Page
public int getMemory()
getMemory
in class CacheObject
public void moveTo(Session session, int newPos)
Page
public boolean canRemove()
CacheObject
canRemove
in class CacheObject
public boolean isStream()
isStream
in class CacheObject
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.