Class ForwardCommitCommand

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

    public class ForwardCommitCommand
    extends org.infinispan.commands.remote.BaseRpcCommand
    A CacheRpcCommand implementation to forward the commit 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

      • ForwardCommitCommand

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

        public ForwardCommitCommand​(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()