public class XSiteStatusCommand extends BaseRpcCommand
BackupSender.| Modifier and Type | Field and Description |
|---|---|
static int |
COMMAND_ID |
cacheName, origin| Constructor and Description |
|---|
XSiteStatusCommand() |
XSiteStatusCommand(ByteString cacheName) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
CompletionStage<?> |
invokeAsync(ComponentRegistry registry)
Invoke the command asynchronously.
|
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
String |
toString() |
getCacheName, getOrigin, setOriginclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanBlock, invoke, invokeAsync, isSuccessful, readFrom, writeTopublic static final int COMMAND_ID
public XSiteStatusCommand()
public XSiteStatusCommand(ByteString cacheName)
public CompletionStage<?> invokeAsync(ComponentRegistry registry) throws Throwable
CacheRpcCommand
This method replaces ReplicableCommand.invoke() for remote execution.
The default implementation and ReplicableCommand.invoke() will be removed in future versions.
Throwablepublic final boolean isReturnValueExpected()
ReplicableCommandResponseGenerator may choose to simply return null to save on marshalling
costs.public byte getCommandId()
ReplicableCommandpublic String toString()
toString in class BaseRpcCommandCopyright © 2022 JBoss by Red Hat. All rights reserved.