Package org.infinispan.commands.irac
Class IracUpdateKeyCommand<T>
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.xsite.XSiteReplicateCommand<T>
org.infinispan.commands.irac.IracUpdateKeyCommand<T>
- All Implemented Interfaces:
CacheRpcCommand,ReplicableCommand
- Direct Known Subclasses:
IracClearKeysCommand,IracPutManyCommand
An update request that is sent to the remote site by
IracManager.- Since:
- 11.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from class org.infinispan.xsite.XSiteReplicateCommand
originSiteFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIracUpdateKeyCommand(byte commandId, ByteString cacheName) -
Method Summary
Modifier and TypeMethodDescriptionabstract CompletionStage<T>executeOperation(BackupReceiver receiver) final CompletionStage<?>invokeAsync(ComponentRegistry registry) Invoke the command asynchronously.booleanisClear()final booleanIf true, a return value will be provided when performed remotely.final CompletionStage<T>performInLocalSite(BackupReceiver receiver, boolean preserveOrder) Methods inherited from class org.infinispan.xsite.XSiteReplicateCommand
getCommandId, performInLocalSite, setOriginSiteMethods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, invoke, invokeAsync, isSuccessful, logThrowable, readFrom, writeTo
-
Constructor Details
-
IracUpdateKeyCommand
-
-
Method Details
-
performInLocalSite
- Specified by:
performInLocalSitein classXSiteReplicateCommand<T>
-
invokeAsync
Description copied from interface:CacheRpcCommandInvoke the command asynchronously.This method replaces
ReplicableCommand.invoke()for remote execution. The default implementation andReplicableCommand.invoke()will be removed in future versions. -
isReturnValueExpected
public final boolean isReturnValueExpected()Description copied from interface:ReplicableCommandIf true, a return value will be provided when performed remotely. Otherwise, a remoteResponseGeneratormay choose to simply return null to save on marshalling costs.- Specified by:
isReturnValueExpectedin interfaceReplicableCommand- Overrides:
isReturnValueExpectedin classXSiteReplicateCommand<T>- Returns:
- true or false
-
executeOperation
-
isClear
public boolean isClear()
-