Class RecoveryCommand
- java.lang.Object
-
- org.infinispan.commands.remote.BaseRpcCommand
-
- org.infinispan.commands.remote.recovery.RecoveryCommand
-
- All Implemented Interfaces:
CacheRpcCommand
,ReplicableCommand
- Direct Known Subclasses:
CompleteTransactionCommand
,GetInDoubtTransactionsCommand
,GetInDoubtTxInfoCommand
,TxCompletionNotificationCommand
public abstract class RecoveryCommand extends BaseRpcCommand
Base class for recovery-related rpc-commands.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description protected RecoveryManager
recoveryManager
-
Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RecoveryCommand(ByteString cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(RecoveryManager rm)
boolean
isReturnValueExpected()
If true, a return value will be provided when performed remotely.-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
canBlock, 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.ReplicableCommand
getCommandId, invoke, invokeAsync, isSuccessful, perform, readFrom, writeTo
-
-
-
-
Field Detail
-
recoveryManager
protected RecoveryManager recoveryManager
-
-
Constructor Detail
-
RecoveryCommand
protected RecoveryCommand(ByteString cacheName)
-
-
Method Detail
-
init
public void init(RecoveryManager rm)
-
isReturnValueExpected
public boolean isReturnValueExpected()
Description copied from interface:ReplicableCommand
If true, a return value will be provided when performed remotely. Otherwise, a remoteResponseGenerator
may choose to simply return null to save on marshalling costs.- Returns:
- true or false
-
-