| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final 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. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | encryptOrDecryptContainer(String
file to store the new version of the container newFilePath, boolean tells whether to encrypt or decrypt doEncrypt)Creates an encrypted or decrypted version of the container. |
| public Page | getAnyPage(long pageNumber)
Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc. |
| public int | |
| public long | |
| public ByteArray | |
| public void | |
| public Page | reCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset)
ReCreate a page for redo recovery. |
| public void |
| COMMITTED_DROP | back to summary |
|---|---|
| public static final int COMMITTED_DROP | |
| DROPPED | back to summary |
|---|---|
| public static final int DROPPED | |
| NORMAL | back to summary |
|---|---|
| public static final 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. To everyone else except recovery, this state is equivalent to NON_EXISTENT | |
| dropContainer | back to summary |
|---|---|
| public void dropContainer(LogInstant instant, boolean drop) throws StandardException If drop is true, drop the container. if drop is false, un-drop the container
| |
| encryptOrDecryptContainer | back to summary |
|---|---|
| public void encryptOrDecryptContainer(String newFilePath, boolean doEncrypt) throws StandardException Creates an encrypted or decrypted version of the container.
| |
| getAnyPage | back to summary |
|---|---|
| public Page getAnyPage(long pageNumber) throws StandardException Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc.
| |
| getContainerStatus | back to summary |
|---|---|
| public int getContainerStatus() throws StandardException Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP.
| |
| getContainerVersion | back to summary |
|---|---|
| public long getContainerVersion() throws StandardException Get the logged container version
| |
| logCreateContainerInfo | back to summary |
|---|---|
| public ByteArray logCreateContainerInfo() throws StandardException Log all information necessary to recreate the container during a load tran.
| |
| preDirty | back to summary |
|---|---|
| public void preDirty(boolean preDirtyOn) throws StandardException 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.
| |
| reCreatePageForRedoRecovery | back to summary |
|---|---|
| public Page reCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset) throws StandardException ReCreate a page for redo recovery. Used during redo recovery while trying to apply log records which are creating the page.
| |
| removeContainer | back to summary |
|---|---|
| public void removeContainer(LogInstant instant) throws StandardException Remove the container.
| |