org.apache.derby.impl.store.raw.data
Class LoggableAllocActions
java.lang.Object
org.apache.derby.impl.store.raw.data.LoggableAllocActions
- All Implemented Interfaces:
- AllocationActions
- public class LoggableAllocActions
- extends java.lang.Object
- implements AllocationActions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggableAllocActions
public LoggableAllocActions()
actionAllocatePage
public void actionAllocatePage(RawTransaction t,
BasePage allocPage,
long pageNumber,
int doStatus,
int undoStatus)
throws 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
- Parameters:
t
- The transactionpageNumber
- the page to allocation or deallocationdoStatus
- set the allocation status of the page this valueundoStatus
- on undo, set the allocation status of the page
this value
- Throws:
StandardException
- Standard Cloudscape error policy
actionChainAllocPage
public void actionChainAllocPage(RawTransaction t,
BasePage allocPage,
long pageNumber,
long pageOffset)
throws StandardException
- Chain one allocation page to the next.
- Specified by:
actionChainAllocPage
in interface AllocationActions
- Parameters:
t
- The transactionpageNumber
- the next allocation page's numberpageOffset
- the next allocation page's page offset
- Throws:
StandardException
- Standard Cloudscape error policy
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.