public abstract class XSiteReplicateCommand extends BaseRpcCommand
Modifier and Type | Field and Description |
---|---|
protected String |
originSite |
cacheName, origin
Modifier | Constructor and Description |
---|---|
protected |
XSiteReplicateCommand(byte commandId,
ByteString cacheName) |
Modifier and Type | Method and Description |
---|---|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
abstract CompletionStage<Void> |
performInLocalSite(BackupReceiver receiver,
boolean preserveOrder) |
void |
setOriginSite(String originSite) |
getCacheName, getOrigin, setOrigin, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invokeAsync
canBlock, invoke, invokeAsync, isSuccessful, readFrom, writeTo
protected String originSite
protected XSiteReplicateCommand(byte commandId, ByteString cacheName)
public abstract CompletionStage<Void> performInLocalSite(BackupReceiver receiver, boolean preserveOrder)
public void setOriginSite(String originSite)
public boolean isReturnValueExpected()
ReplicableCommand
ResponseGenerator
may choose to simply return null to save on marshalling
costs.public byte getCommandId()
ReplicableCommand
Copyright © 2021 JBoss by Red Hat. All rights reserved.