|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a way to handle commits that are received from a client.
Method Summary | |
---|---|
void |
handleTransactionAfterCommitted(ITransaction transaction,
IStoreAccessor.CommitContext commitContext,
OMMonitor monitor)
Provides a way to handle transactions after they have been committed to the backend store. |
void |
handleTransactionBeforeCommitting(ITransaction transaction,
IStoreAccessor.CommitContext commitContext,
OMMonitor monitor)
Provides a way to handle transactions that are to be committed to the backend store. |
Method Detail |
---|
void handleTransactionBeforeCommitting(ITransaction transaction, IStoreAccessor.CommitContext commitContext, OMMonitor monitor) throws RuntimeException
transaction
- The transaction that is going to be committed.commitContext
- The context of the commit operation that is to be executed against the backend store. The context can be
used to introspect all aspects of the current commit operation. Note that you must not alter the
internal state of the commit context in any way!monitor
- A monitor that should be used by the implementor to avoid timeouts.
RuntimeException
- to indicate that the commit operation must not be executed against the backend store. This exception
will be visible at the client side!void handleTransactionAfterCommitted(ITransaction transaction, IStoreAccessor.CommitContext commitContext, OMMonitor monitor)
transaction
- The transaction that has been committed.commitContext
- The context of the commit operation that was executed against the backend store. The context can be used
to introspect all aspects of the current commit operation. Note that you must not alter the internal
state of the commit context in any way!monitor
- A monitor that should be used by the implementor to avoid timeouts.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |