Class PrePostProcessingCommandInterceptor

    • Constructor Detail

      • PrePostProcessingCommandInterceptor

        public PrePostProcessingCommandInterceptor()
        Deprecated.
    • Method Detail

      • visitPutKeyValueCommand

        public Object visitPutKeyValueCommand​(InvocationContext ctx,
                                              org.infinispan.commands.write.PutKeyValueCommand command)
                                       throws Throwable
        Deprecated.
        Specified by:
        visitPutKeyValueCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitPutKeyValueCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitRemoveCommand

        public Object visitRemoveCommand​(InvocationContext ctx,
                                         org.infinispan.commands.write.RemoveCommand command)
                                  throws Throwable
        Deprecated.
        Specified by:
        visitRemoveCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitRemoveCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitReplaceCommand

        public Object visitReplaceCommand​(InvocationContext ctx,
                                          org.infinispan.commands.write.ReplaceCommand command)
                                   throws Throwable
        Deprecated.
        Specified by:
        visitReplaceCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitReplaceCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitComputeCommand

        public Object visitComputeCommand​(InvocationContext ctx,
                                          org.infinispan.commands.write.ComputeCommand command)
                                   throws Throwable
        Deprecated.
        Specified by:
        visitComputeCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitComputeCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitComputeIfAbsentCommand

        public Object visitComputeIfAbsentCommand​(InvocationContext ctx,
                                                  org.infinispan.commands.write.ComputeIfAbsentCommand command)
                                           throws Throwable
        Deprecated.
        Specified by:
        visitComputeIfAbsentCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitComputeIfAbsentCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitClearCommand

        public Object visitClearCommand​(InvocationContext ctx,
                                        org.infinispan.commands.write.ClearCommand command)
                                 throws Throwable
        Deprecated.
        Specified by:
        visitClearCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitClearCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitPutMapCommand

        public Object visitPutMapCommand​(InvocationContext ctx,
                                         org.infinispan.commands.write.PutMapCommand command)
                                  throws Throwable
        Deprecated.
        Specified by:
        visitPutMapCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitPutMapCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitEvictCommand

        public Object visitEvictCommand​(InvocationContext ctx,
                                        org.infinispan.commands.write.EvictCommand command)
                                 throws Throwable
        Deprecated.
        Specified by:
        visitEvictCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitEvictCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitSizeCommand

        public Object visitSizeCommand​(InvocationContext ctx,
                                       org.infinispan.commands.read.SizeCommand command)
                                throws Throwable
        Deprecated.
        Specified by:
        visitSizeCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitSizeCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitGetKeyValueCommand

        public Object visitGetKeyValueCommand​(InvocationContext ctx,
                                              org.infinispan.commands.read.GetKeyValueCommand command)
                                       throws Throwable
        Deprecated.
        Specified by:
        visitGetKeyValueCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitGetKeyValueCommand in class org.infinispan.commands.AbstractVisitor
        Throws:
        Throwable
      • visitPrepareCommand

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

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

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

        protected abstract void doAfterCall​(InvocationContext ctx,
                                            org.infinispan.commands.VisitableCommand command)
        Deprecated.
        Callback that is invoked after every handleXXX() method defined above.
        Parameters:
        ctx - invocation context
        command - command which was invoked
      • doBeforeCall

        protected boolean doBeforeCall​(InvocationContext ctx,
                                       org.infinispan.commands.VisitableCommand command)
        Deprecated.