Class Sync
java.lang.Object
org.infinispan.hibernate.cache.v62.impl.Sync
- All Implemented Interfaces:
org.hibernate.cache.spi.CacheTransactionSynchronization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidregisterAfterCommit(org.infinispan.hibernate.cache.v62.impl.Invocation invocation) voidregisterBeforeCommit(CompletableFuture<?> future) voidtransactionCompleted(boolean successful) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.cache.spi.CacheTransactionSynchronization
transactionResumed, transactionSuspended
-
Constructor Details
-
Sync
public Sync(org.hibernate.cache.spi.RegionFactory regionFactory)
-
-
Method Details
-
registerBeforeCommit
-
registerAfterCommit
public void registerAfterCommit(org.infinispan.hibernate.cache.v62.impl.Invocation invocation) -
getCurrentTransactionStartTimestamp
public long getCurrentTransactionStartTimestamp()- Specified by:
getCurrentTransactionStartTimestampin interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
getCachingTimestamp
public long getCachingTimestamp()- Specified by:
getCachingTimestampin interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionJoined
public void transactionJoined()- Specified by:
transactionJoinedin interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionCompleting
public void transactionCompleting()- Specified by:
transactionCompletingin interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionCompleted
public void transactionCompleted(boolean successful) - Specified by:
transactionCompletedin interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-