public abstract class AbstractCacheTransactionSynchronization extends Object implements CacheTransactionSynchronization
| Constructor and Description |
|---|
AbstractCacheTransactionSynchronization(RegionFactory regionFactory) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTransactionStartTimestamp()
What is the start time of this context object?
|
void |
transactionCompleted(boolean successful)
Callback that the underling resource transaction to which the owning
Session was joined is in the "completed" stage.
|
void |
transactionCompleting()
Callback that the underling resource transaction to which the owning
Session was joined is in the beginning stages of completing.
|
void |
transactionJoined()
Callback that owning Session has become joined to a resource transaction.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransactionResumed, transactionSuspendedpublic AbstractCacheTransactionSynchronization(RegionFactory regionFactory)
public long getCurrentTransactionStartTimestamp()
CacheTransactionSynchronizationWhat is the start time of this context object?
getCurrentTransactionStartTimestamp in interface CacheTransactionSynchronizationpublic final void transactionJoined()
CacheTransactionSynchronizationCallback that owning Session has become joined to a resource transaction.
transactionJoined in interface CacheTransactionSynchronizationpublic final void transactionCompleting()
CacheTransactionSynchronizationCallback that the underling resource transaction to which the owning Session was joined is in the beginning stages of completing. Note that this is only called for successful "begin completion" of the underlying resource transaction (not rolling-back, marked-for-rollback, etc)
transactionCompleting in interface CacheTransactionSynchronizationpublic void transactionCompleted(boolean successful)
CacheTransactionSynchronizationCallback that the underling resource transaction to which the owning Session was joined is in the "completed" stage. This method is called regardless of success or failure of the transaction - the outcome is passed as a boolean.
transactionCompleted in interface CacheTransactionSynchronizationsuccessful - Was the resource transaction successful?Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.