Class TotalOrderInterceptor

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

    @Deprecated
    public class TotalOrderInterceptor
    extends DDAsyncInterceptor
    Deprecated.
    since 10.0. Total Order will be removed.
    Created to control the total order validation. It disable the possibility of acquiring locks during execution through the cache API
    Author:
    Pedro Ruivo, Mircea.Markus@jboss.com
    • Constructor Detail

      • TotalOrderInterceptor

        public TotalOrderInterceptor()
        Deprecated.
    • Method Detail

      • visitPrepareCommand

        public final java.lang.Object visitPrepareCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                                          org.infinispan.commands.tx.PrepareCommand command)
                                                   throws java.lang.Throwable
        Deprecated.
        Specified by:
        visitPrepareCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitPrepareCommand in class DDAsyncInterceptor
        Throws:
        java.lang.Throwable
      • visitRollbackCommand

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

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

        public final java.lang.Object visitLockControlCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                                              org.infinispan.commands.control.LockControlCommand command)
                                                       throws java.lang.Throwable
        Deprecated.
        Specified by:
        visitLockControlCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitLockControlCommand in class DDAsyncInterceptor
        Throws:
        java.lang.Throwable