Class RecoveryCommand
- java.lang.Object
-
- org.infinispan.commands.remote.BaseRpcCommand
-
- org.infinispan.commands.remote.recovery.RecoveryCommand
-
- All Implemented Interfaces:
InitializableCommand,CacheRpcCommand,ReplicableCommand
@Deprecated public abstract class RecoveryCommand extends BaseRpcCommand implements InitializableCommand
Deprecated.since 11.0, class will be removed with no direct replacement. BaseRpcCommand should be extended instead.Base class for recovery-related rpc-commands.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description protected RecoveryManagerrecoveryManagerDeprecated.-
Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecoveryCommand(ByteString cacheName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinit(ComponentRegistry componentRegistry, boolean isRemote)Deprecated.booleanisReturnValueExpected()Deprecated.If true, a return value will be provided when performed remotely.-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commands.remote.CacheRpcCommand
invokeAsync
-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isSuccessful, readFrom, writeTo
-
-
-
-
Field Detail
-
recoveryManager
protected RecoveryManager recoveryManager
Deprecated.
-
-
Constructor Detail
-
RecoveryCommand
protected RecoveryCommand(ByteString cacheName)
Deprecated.
-
-
Method Detail
-
init
public void init(ComponentRegistry componentRegistry, boolean isRemote)
Deprecated.- Specified by:
initin interfaceInitializableCommand
-
isReturnValueExpected
public boolean isReturnValueExpected()
Deprecated.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- Returns:
- true or false
-
-