Class RecoveryCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.commands.remote.recovery.RecoveryCommand
- All Implemented Interfaces:
InitializableCommand,CacheRpcCommand,ReplicableCommand
@Deprecated(forRemoval=true)
public abstract class RecoveryCommand
extends BaseRpcCommand
implements InitializableCommand
Deprecated, for removal: This API element is subject to removal in a future version.
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
FieldsModifier and TypeFieldDescriptionprotected RecoveryManagerDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRecoveryCommand(ByteString cacheName) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ComponentRegistry componentRegistry, boolean isRemote) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.If true, a return value will be provided when performed remotely.Methods 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.remote.CacheRpcCommand
invokeAsyncMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isSuccessful, logThrowable, readFrom, writeTo
-
Field Details
-
recoveryManager
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
RecoveryCommand
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
init
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
initin interfaceInitializableCommand
-
isReturnValueExpected
public boolean isReturnValueExpected()Deprecated, for removal: This API element is subject to removal in a future version.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
-