| org.apache.derby.iapi.store.raw.data.RawContainerHandle
All known Subclasses: org.apache.derby.impl.store.raw.data.BaseContainerHandle,
RawContainerHandle | public interface RawContainerHandle extends ContainerHandle(Code) | | 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 | |
final public static int | COMMITTED_DROP | final public static int | DROPPED | final public 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.
DROPPED - container has been dropped, but is not known whether the drop
has been committed or not
COMMITTED_DROP - container has been dropped and has committed. |
COMMITTED_DROP | final public static int COMMITTED_DROP(Code) | | |
DROPPED | final public static int DROPPED(Code) | | |
NORMAL | final public static int NORMAL(Code) | | 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.
DROPPED - container has been dropped, but is not known whether the drop
has been committed or not
COMMITTED_DROP - container has been dropped and has committed. To
everyone else except recovery, this state is equivalent
to NON_EXISTENT
|
encryptContainer | public void encryptContainer(String newFilePath) throws StandardException(Code) | | Create encrypted version of the container with the
user specified encryption properties.
Parameters: newFilePath - file to store the new encrypted version of the container exception: StandardException - Standard Cloudscape error policy |
getAnyPage | public Page getAnyPage(long pageNumber) throws StandardException(Code) | | Return a Page that represents any page - alloc page, valid page, free page,
dealloced page etc.
exception: StandardException - Standard Cloudscape error policy |
getContainerStatus | public int getContainerStatus() throws StandardException(Code) | | Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP.
exception: StandardException - Standard cloudscape exception policy |
preDirty | public void preDirty(boolean preDirtyOn) throws StandardException(Code) | | The container is about to be modified.
Loggable actions use this to make sure the container gets cleaned if a
checkpoint is taken after any log record is sent to the log stream but
before the container is actually dirtied.
exception: StandardException - Standard Cloudscape error policy |
reCreatePageForRedoRecovery | public Page reCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset) throws StandardException(Code) | | ReCreate a page for redo recovery.
Used during redo recovery while trying to apply log records which
are creating the page.
exception: StandardException - Standard Cloudscape error policy |
|
|