|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
RawContainerHandle is the form of ContainerHandle that is used within the raw store. This allows the raw store to have a handle on dropped container without exposing this to the external interface, which is not allowed to get back a handle on a dropped container
| Field Summary | |
static int |
COMMITTED_DROP
|
static int |
DROPPED
|
static int |
NORMAL
A container can be in 4 states: non_existent - this is represented by a null ContainerHandle NORMAL - this is the normal case, container has been created and is not dropped. |
| Method Summary | |
void |
dropContainer(LogInstant instant,
boolean drop)
If drop is true, drop the container. |
Page |
getAnyPage(long pageNumber)
Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc. |
int |
getContainerStatus()
Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP. |
long |
getContainerVersion()
Get the logged container version |
ByteArray |
logCreateContainerInfo()
Log all information necessary to recreate the container during a load tran. |
void |
preDirty(boolean preDirtyOn)
The container is about to be modified. |
Page |
reCreatePageForLoadTran(int pageFormat,
long pageNumber,
long pageOffset)
ReCreate a page for load tran - called by recovery redo ONLY |
void |
removeContainer(LogInstant instant)
Remove the container. |
| Methods inherited from interface org.apache.derby.iapi.store.raw.ContainerHandle |
addPage, addPage, close, compactRecord, compressContainer, flushContainer, getContainerProperties, getEstimatedPageCount, getEstimatedRowCount, getFirstPage, getId, getLockingPolicy, getNextPage, getPage, getPageForCompress, getPageForInsert, getPageNoWait, getSpaceInfo, getUniqueId, getUserPageNoWait, getUserPageWait, isReadOnly, isTemporaryContainer, makeRecordHandle, preAllocate, removePage, setEstimatedRowCount, setLockingPolicy |
| Field Detail |
public static final int NORMAL
public static final int DROPPED
public static final int COMMITTED_DROP
| Method Detail |
public int getContainerStatus()
throws StandardException
StandardException - Standard cloudscape exception policy
public void removeContainer(LogInstant instant)
throws StandardException
StandardException - Standard cloudscape exception policy
public void dropContainer(LogInstant instant,
boolean drop)
throws StandardException
StandardException - Standard cloudscape exception policy
public long getContainerVersion()
throws StandardException
StandardException - Standard cloudscape exception policy
public Page getAnyPage(long pageNumber)
throws StandardException
StandardException - Standard Cloudscape error policy
public Page reCreatePageForLoadTran(int pageFormat,
long pageNumber,
long pageOffset)
throws StandardException
StandardException - Standard Cloudscape error policy
public ByteArray logCreateContainerInfo()
throws StandardException
StandardException - Standard Cloudscape error policy
public void preDirty(boolean preDirtyOn)
throws StandardException
StandardException - Standard Cloudscape error policy
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||