public abstract class IracUpdateKeyCommand extends XSiteReplicateCommand
IracManager
.originSite
cacheName, origin
Modifier | Constructor and Description |
---|---|
protected |
IracUpdateKeyCommand(byte commandId,
ByteString cacheName) |
Modifier and Type | Method and Description |
---|---|
abstract IracUpdateKeyCommand |
copyForCacheName(ByteString cacheName) |
abstract CompletionStage<Void> |
executeOperation(BackupReceiver receiver) |
abstract Object |
getKey() |
CompletionStage<?> |
invokeAsync(ComponentRegistry registry)
Invoke the command asynchronously.
|
boolean |
isClear() |
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
CompletionStage<Void> |
performInLocalSite(BackupReceiver receiver,
boolean preserveOrder) |
getCommandId, setOriginSite
getCacheName, getOrigin, setOrigin, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canBlock, invoke, invokeAsync, isSuccessful, readFrom, writeTo
protected IracUpdateKeyCommand(byte commandId, ByteString cacheName)
public final CompletionStage<Void> performInLocalSite(BackupReceiver receiver, boolean preserveOrder)
performInLocalSite
in class XSiteReplicateCommand
public final CompletionStage<?> invokeAsync(ComponentRegistry registry)
CacheRpcCommand
This method replaces ReplicableCommand.invoke()
for remote execution.
The default implementation and ReplicableCommand.invoke()
will be removed in future versions.
public final boolean isReturnValueExpected()
ReplicableCommand
ResponseGenerator
may choose to simply return null to save on marshalling
costs.isReturnValueExpected
in interface ReplicableCommand
isReturnValueExpected
in class XSiteReplicateCommand
public abstract Object getKey()
public abstract CompletionStage<Void> executeOperation(BackupReceiver receiver)
public abstract IracUpdateKeyCommand copyForCacheName(ByteString cacheName)
public boolean isClear()
Copyright © 2021 JBoss by Red Hat. All rights reserved.