Interface ISharedObjectContainerTransaction
- All Known Implementing Classes:
TwoPhaseCommitEventProcessor
public interface ISharedObjectContainerTransaction
Implementers represent a transaction associated with the creation of a
SharedObject within the scope of a given SharedObjectContainer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
Get state of transaction.void
Method called to wait for a transaction to complete.
-
Field Details
-
ACTIVE
static final byte ACTIVE- See Also:
-
VOTING
static final byte VOTING- See Also:
-
PREPARED
static final byte PREPARED- See Also:
-
COMMITTED
static final byte COMMITTED- See Also:
-
ABORTED
static final byte ABORTED- See Also:
-
-
Method Details
-
waitToCommit
Method called to wait for a transaction to complete.- Throws:
SharedObjectAddAbortException
-
getTransactionState
byte getTransactionState()Get state of transaction. Returns one of 'ACTIVE', 'VOTING', 'PREPARED', 'COMMITTED', or 'ABORTED'.- Returns:
- byte code. Returns one of 'ACTIVE', 'VOTING', 'PREPARED', 'COMMITTED', or 'ABORTED'.
-