java.lang.Object
org.infinispan.hibernate.cache.v62.impl.Sync
All Implemented Interfaces:
org.hibernate.cache.spi.CacheTransactionSynchronization

public class Sync extends Object implements org.hibernate.cache.spi.CacheTransactionSynchronization
  • Constructor Details

    • Sync

      public Sync(org.hibernate.cache.spi.RegionFactory regionFactory)
  • Method Details

    • registerBeforeCommit

      public void registerBeforeCommit(CompletableFuture<?> future)
    • registerAfterCommit

      public void registerAfterCommit(org.infinispan.hibernate.cache.v62.impl.Invocation invocation)
    • getCurrentTransactionStartTimestamp

      public long getCurrentTransactionStartTimestamp()
      Specified by:
      getCurrentTransactionStartTimestamp in interface org.hibernate.cache.spi.CacheTransactionSynchronization
    • getCachingTimestamp

      public long getCachingTimestamp()
      Specified by:
      getCachingTimestamp in interface org.hibernate.cache.spi.CacheTransactionSynchronization
    • transactionJoined

      public void transactionJoined()
      Specified by:
      transactionJoined in interface org.hibernate.cache.spi.CacheTransactionSynchronization
    • transactionCompleting

      public void transactionCompleting()
      Specified by:
      transactionCompleting in interface org.hibernate.cache.spi.CacheTransactionSynchronization
    • transactionCompleted

      public void transactionCompleted(boolean successful)
      Specified by:
      transactionCompleted in interface org.hibernate.cache.spi.CacheTransactionSynchronization