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, wait
transactionResumed, transactionSuspended
public AbstractCacheTransactionSynchronization(RegionFactory regionFactory)
public long getCurrentTransactionStartTimestamp()
CacheTransactionSynchronization
getCurrentTransactionStartTimestamp
in interface CacheTransactionSynchronization
public final void transactionJoined()
CacheTransactionSynchronization
transactionJoined
in interface CacheTransactionSynchronization
public final void transactionCompleting()
CacheTransactionSynchronization
transactionCompleting
in interface CacheTransactionSynchronization
public void transactionCompleted(boolean successful)
CacheTransactionSynchronization
transactionCompleted
in interface CacheTransactionSynchronization
successful
- Was the resource transaction successful?Copyright © 2019 JBoss by Red Hat. All rights reserved.