Class PrePostProcessingCommandInterceptor

    • Constructor Detail

      • PrePostProcessingCommandInterceptor

        public PrePostProcessingCommandInterceptor()
        Deprecated.
    • Method Detail

      • visitPutKeyValueCommand

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

        protected java.lang.Object handlePutKeyValueCommand​(InvocationContext ctx,
                                                            org.infinispan.commands.write.PutKeyValueCommand command)
                                                     throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitRemoveCommand

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

        protected java.lang.Object handleRemoveCommand​(InvocationContext ctx,
                                                       org.infinispan.commands.write.RemoveCommand command)
                                                throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitReplaceCommand

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

        protected java.lang.Object handleReplaceCommand​(InvocationContext ctx,
                                                        org.infinispan.commands.write.ReplaceCommand command)
                                                 throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitComputeCommand

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

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

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

        protected java.lang.Object handleClearCommand​(InvocationContext ctx,
                                                      org.infinispan.commands.write.ClearCommand command)
                                               throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitPutMapCommand

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

        protected java.lang.Object handlePutMapCommand​(InvocationContext ctx,
                                                       org.infinispan.commands.write.PutMapCommand command)
                                                throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitEvictCommand

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

        protected java.lang.Object handleEvictCommand​(InvocationContext ctx,
                                                      org.infinispan.commands.write.EvictCommand command)
                                               throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitSizeCommand

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

        protected java.lang.Object handleSizeCommand​(InvocationContext ctx,
                                                     org.infinispan.commands.read.SizeCommand command)
                                              throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitGetKeyValueCommand

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

        protected java.lang.Object handleGetKeyValueCommand​(InvocationContext ctx,
                                                            org.infinispan.commands.read.GetKeyValueCommand command)
                                                     throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.Throwable
      • visitPrepareCommand

        public 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 org.infinispan.commands.AbstractVisitor
        Throws:
        java.lang.Throwable
      • handlePrepareCommand

        protected java.lang.Object handlePrepareCommand​(InvocationContext ctx,
                                                        org.infinispan.commands.tx.PrepareCommand command)
                                                 throws java.lang.Throwable
        Deprecated.
        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 org.infinispan.commands.AbstractVisitor
        Throws:
        java.lang.Throwable
      • handleRollbackCommand

        protected java.lang.Object handleRollbackCommand​(InvocationContext ctx,
                                                         org.infinispan.commands.tx.RollbackCommand command)
                                                  throws java.lang.Throwable
        Deprecated.
        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 org.infinispan.commands.AbstractVisitor
        Throws:
        java.lang.Throwable
      • handleCommitCommand

        protected java.lang.Object handleCommitCommand​(InvocationContext ctx,
                                                       org.infinispan.commands.tx.CommitCommand command)
                                                throws java.lang.Throwable
        Deprecated.
        Throws:
        java.lang.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.