Class Sync
- java.lang.Object
-
- org.infinispan.hibernate.cache.v53.impl.Sync
-
- All Implemented Interfaces:
org.hibernate.cache.spi.CacheTransactionSynchronization
public class Sync extends Object implements org.hibernate.cache.spi.CacheTransactionSynchronization
-
-
Constructor Summary
Constructors Constructor Description Sync(org.hibernate.cache.spi.RegionFactory regionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentTransactionStartTimestamp()
void
registerAfterCommit(org.infinispan.hibernate.cache.v53.impl.Invocation invocation)
void
registerBeforeCommit(CompletableFuture<?> future)
void
transactionCompleted(boolean successful)
void
transactionCompleting()
void
transactionJoined()
-
-
-
Method Detail
-
registerBeforeCommit
public void registerBeforeCommit(CompletableFuture<?> future)
-
registerAfterCommit
public void registerAfterCommit(org.infinispan.hibernate.cache.v53.impl.Invocation invocation)
-
getCurrentTransactionStartTimestamp
public long getCurrentTransactionStartTimestamp()
- Specified by:
getCurrentTransactionStartTimestamp
in interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionJoined
public void transactionJoined()
- Specified by:
transactionJoined
in interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionCompleting
public void transactionCompleting()
- Specified by:
transactionCompleting
in interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
transactionCompleted
public void transactionCompleted(boolean successful)
- Specified by:
transactionCompleted
in interfaceorg.hibernate.cache.spi.CacheTransactionSynchronization
-
-