org.infinispan.commands.remote.recovery
Class RecoveryCommand

java.lang.Object
  extended by org.infinispan.commands.remote.BaseRpcCommand
      extended by 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
protected  RecoveryManager recoveryManager
           
 
Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName
 
Constructor Summary
protected RecoveryCommand(String cacheName)
           
 
Method Summary
 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, getParameters, perform, setParameters
 

Field Detail

recoveryManager

protected RecoveryManager recoveryManager
Constructor Detail

RecoveryCommand

protected RecoveryCommand(String 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 remote ResponseGenerator may choose to simply return null to save on marshalling costs.

Returns:
true or false

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.