Method Summary |
|
abstract public void | addUpdateTransaction(int transactionStatus) |
abstract public boolean | blockBackup(boolean wait) |
public void | checkLogicalOperationOk() Check to see if a logical operation is allowed by this transaction,
throws a TransactionExceotion if it isn't. |
abstract public void | checkpointInRollForwardRecovery(LogInstant cinstant, long redoLWM) |
abstract public long[] | getCacheStats(String cacheName) |
abstract public DataFactory | getDataFactory() Get the data factory to be used during this transaction. |
abstract public LogInstant | getFirstLogInstant() Get the log instant for the first log record written by this
transaction. |
abstract public GlobalTransactionId | getGlobalId() Get the shortId of this transaction. |
abstract public TransactionId | getId() Get the shortId of this transaction. |
abstract public LogInstant | getLastLogInstant() Get the log instant for the last log record written by this transaction. |
abstract public LockFactory | getLockFactory() Get the lock factory to be used during this transaction. |
abstract public DynamicByteArrayOutputStream | getLogBuffer() Get the log buffer to be used during this transaction. |
abstract public boolean | handlesPostTerminationWork() |
abstract public boolean | inAbort() Is the transaction in the middle of an abort. |
abstract public boolean | inRollForwardRecovery() |
abstract public boolean | isBlockingBackup() |
abstract public void | logAndUndo(Compensation compensation, LogInstant undoInstant, LimitObjectInput in) Log a compensation operation and then action it in the context of this
transaction.
The CompensationOperation is logged in the transaction log file and
then its doMe method is called to perform the required change. |
public void | notifyObservers(Object arg) Allow my users to notigy my observers. |
abstract public RawContainerHandle | openDroppedContainer(ContainerKey containerId, LockingPolicy locking) Open a container that may be dropped - use only by logging and recovery.
During recovery redo, a log record may refer to a container that has
long been dropped. |
abstract public void | prepareTransaction() Change the state of transaction in table to prepare. |
abstract public void | reCreateContainerForRedoRecovery(long segmentId, long containerId, ByteArray containerInfo) Recreate a container during redo recovery. |
public boolean | recoveryRollbackFirst() Return true if this transaction should be rolled back first
in recovery. |
abstract public void | recoveryTransaction() |
abstract public void | removeUpdateTransaction() |
abstract public void | reprepare() During recovery re-prepare a transaction.
After redo() and undo(), this routine is called on all outstanding
in-doubt (prepared) transactions. |
abstract public void | resetCacheStats(String cacheName) |
abstract public void | setFirstLogInstant(LogInstant instant) Set the log instant for the first log record written by this
transaction. |
abstract public void | setLastLogInstant(LogInstant instant) Set the log instant for the last log record written by this transaction. |
public void | setObserverException(StandardException se) Allow an Observer to indicate an exception to the transaction that
is raised in its update() method. |
abstract public void | setTransactionId(GlobalTransactionId id, TransactionId shortId) |
abstract public void | setTransactionId(Loggable beginXact, TransactionId shortId) |
abstract public RawTransaction | startNestedTopTransaction() Start a nested top transaction. |
abstract protected int | statusForBeginXactLog() |
abstract protected int | statusForEndXactLog() |