Class XSiteReplicateCommand

  • All Implemented Interfaces:
    org.infinispan.commands.remote.CacheRpcCommand, org.infinispan.commands.ReplicableCommand
    Direct Known Subclasses:
    SingleXSiteRpcCommand, XSiteStatePushCommand, XSiteStateTransferControlCommand

    public abstract class XSiteReplicateCommand
    extends org.infinispan.commands.remote.BaseRpcCommand
    Abstract class to invoke RPC on the remote site.
    Since:
    7.0
    Author:
    Pedro Ruivo
    • Field Summary

      • Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand

        cacheName
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOriginSite()  
      abstract java.util.concurrent.CompletionStage<java.lang.Void> performInLocalSite​(BackupReceiver receiver, boolean preserveOrder)  
      void setOriginSite​(java.lang.String originSite)  
      • Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand

        canBlock, getCacheName, getOrigin, setOrigin, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.infinispan.commands.ReplicableCommand

        getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, perform, readFrom, writeTo
    • Constructor Detail

      • XSiteReplicateCommand

        protected XSiteReplicateCommand​(ByteString cacheName)
    • Method Detail

      • performInLocalSite

        public abstract java.util.concurrent.CompletionStage<java.lang.Void> performInLocalSite​(BackupReceiver receiver,
                                                                                                boolean preserveOrder)
      • getOriginSite

        public java.lang.String getOriginSite()
      • setOriginSite

        public void setOriginSite​(java.lang.String originSite)