java.lang.Object
org.apache.derby.impl.store.raw.data.DirectAllocActions
- All Implemented Interfaces:
- AllocationActions
- public class DirectAllocActions
- extends java.lang.Object
- implements AllocationActions
|
Method Summary |
void |
actionAllocatePage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
long pageNumber,
int doStatus,
int undoStatus)
Set the allocation status of pageNumber to doStatus. |
void |
actionChainAllocPage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
long pageNumber,
long pageOffset)
Chain one allocation page to the next. |
void |
actionCompressSpaceOperation(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
int new_highest_page,
int num_pages_truncated)
Compress free pages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectAllocActions
public DirectAllocActions()
actionAllocatePage
public void actionAllocatePage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
long pageNumber,
int doStatus,
int undoStatus)
throws org.apache.derby.iapi.error.StandardException
- Set the allocation status of pageNumber to doStatus. To undo this
operation, set the allocation status of pageNumber to undoStatus
- Specified by:
actionAllocatePage in interface AllocationActions
actionChainAllocPage
public void actionChainAllocPage(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
long pageNumber,
long pageOffset)
throws org.apache.derby.iapi.error.StandardException
- Chain one allocation page to the next.
- Specified by:
actionChainAllocPage in interface AllocationActions
actionCompressSpaceOperation
public void actionCompressSpaceOperation(org.apache.derby.iapi.store.raw.xact.RawTransaction t,
BasePage allocPage,
int new_highest_page,
int num_pages_truncated)
throws org.apache.derby.iapi.error.StandardException
- Compress free pages.
Compress the free pages at the end of the range maintained by
this allocation page. All pages being compressed should be FREE.
Only pages in the last allocation page can be compressed.
- Specified by:
actionCompressSpaceOperation in interface AllocationActions