Class OptimisticBackupInterceptor

  • All Implemented Interfaces:
    org.infinispan.commands.Visitor, AsyncInterceptor

    public class OptimisticBackupInterceptor
    extends BaseBackupInterceptor
    Handles x-site data backups for optimistic transactional caches.
    Since:
    5.2
    Author:
    Mircea Markus
    • Constructor Detail

      • OptimisticBackupInterceptor

        public OptimisticBackupInterceptor()
    • Method Detail

      • visitCommitCommand

        public Object visitCommitCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                         org.infinispan.commands.tx.CommitCommand command)
                                  throws Throwable
        Specified by:
        visitCommitCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitCommitCommand in class DDAsyncInterceptor
        Throws:
        Throwable
      • visitRollbackCommand

        public Object visitRollbackCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                           org.infinispan.commands.tx.RollbackCommand command)
                                    throws Throwable
        Specified by:
        visitRollbackCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitRollbackCommand in class DDAsyncInterceptor
        Throws:
        Throwable