public abstract class IracUpdateKeyCommand extends XSiteReplicateCommand
IracManager.originSitecacheName, 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, setOriginSitegetCacheName, getOrigin, setOrigin, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanBlock, invoke, invokeAsync, isSuccessful, readFrom, writeToprotected IracUpdateKeyCommand(byte commandId,
ByteString cacheName)
public final CompletionStage<Void> performInLocalSite(BackupReceiver receiver, boolean preserveOrder)
performInLocalSite in class XSiteReplicateCommandpublic 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()
ReplicableCommandResponseGenerator may choose to simply return null to save on marshalling
costs.isReturnValueExpected in interface ReplicableCommandisReturnValueExpected in class XSiteReplicateCommandpublic abstract Object getKey()
public abstract CompletionStage<Void> executeOperation(BackupReceiver receiver)
public abstract IracUpdateKeyCommand copyForCacheName(ByteString cacheName)
public boolean isClear()
Copyright © 2022 JBoss by Red Hat. All rights reserved.