Package org.infinispan.xsite
Class XSiteReplicateCommand
- java.lang.Object
-
- org.infinispan.commands.remote.BaseRpcCommand
-
- org.infinispan.xsite.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XSiteReplicateCommand(ByteString cacheName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getOriginSite()
abstract CompletionStage<Void>
performInLocalSite(BackupReceiver receiver, boolean preserveOrder)
void
setOriginSite(String originSite)
-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
canBlock, getCacheName, getOrigin, setOrigin, toString
-
-
-
-
Constructor Detail
-
XSiteReplicateCommand
protected XSiteReplicateCommand(ByteString cacheName)
-
-
Method Detail
-
performInLocalSite
public abstract CompletionStage<Void> performInLocalSite(BackupReceiver receiver, boolean preserveOrder)
-
getOriginSite
public String getOriginSite()
-
setOriginSite
public void setOriginSite(String originSite)
-
-