Class ForwardRollbackCommand

  • All Implemented Interfaces:
    org.infinispan.commands.remote.CacheRpcCommand, org.infinispan.commands.ReplicableCommand

    public class ForwardRollbackCommand
    extends org.infinispan.commands.remote.BaseRpcCommand
    A CacheRpcCommand implementation to forward the rollback request from a client to the member that run the transaction.
    Since:
    9.1
    Author:
    Pedro Ruivo
    • Field Detail

      • xid

        protected org.infinispan.commons.tx.XidImpl xid
      • timeout

        protected long timeout
    • Constructor Detail

      • ForwardRollbackCommand

        public ForwardRollbackCommand​(org.infinispan.util.ByteString cacheName)
      • ForwardRollbackCommand

        public ForwardRollbackCommand​(org.infinispan.util.ByteString cacheName,
                                      org.infinispan.commons.tx.XidImpl xid,
                                      long timeout)
    • Method Detail

      • getCommandId

        public byte getCommandId()
      • toString

        public String toString()
        Overrides:
        toString in class org.infinispan.commands.remote.BaseRpcCommand
      • isReturnValueExpected

        public boolean isReturnValueExpected()
      • canBlock

        public boolean canBlock()