Class Sync

  • All Implemented Interfaces:
    org.hibernate.cache.spi.CacheTransactionSynchronization

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

      • Sync

        public Sync​(org.hibernate.cache.spi.RegionFactory regionFactory)
    • 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 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