类 AbstractCacheTransactionSynchronization
- java.lang.Object
-
- org.hibernate.cache.spi.AbstractCacheTransactionSynchronization
-
- 所有已实现的接口:
CacheTransactionSynchronization
public abstract class AbstractCacheTransactionSynchronization extends Object implements CacheTransactionSynchronization
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractCacheTransactionSynchronization(RegionFactory regionFactory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetCurrentTransactionStartTimestamp()What is the start time of this context object?voidtransactionCompleted(boolean successful)Callback that the underling resource transaction to which the owning Session was joined is in the "completed" stage.voidtransactionCompleting()Callback that the underling resource transaction to which the owning Session was joined is in the beginning stages of completing.voidtransactionJoined()Callback that owning Session has become joined to a resource transaction.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.cache.spi.CacheTransactionSynchronization
transactionResumed, transactionSuspended
-
-
-
-
构造器详细资料
-
AbstractCacheTransactionSynchronization
public AbstractCacheTransactionSynchronization(RegionFactory regionFactory)
-
-
方法详细资料
-
getCurrentTransactionStartTimestamp
public long getCurrentTransactionStartTimestamp()
从接口复制的说明:CacheTransactionSynchronizationWhat is the start time of this context object?
-
transactionJoined
public final void transactionJoined()
从接口复制的说明:CacheTransactionSynchronizationCallback that owning Session has become joined to a resource transaction.
-
transactionCompleting
public 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)
-
transactionCompleted
public 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在接口中CacheTransactionSynchronization- 参数:
successful- Was the resource transaction successful?
-
-