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 Details

    • recoveryManager

      protected RecoveryManager recoveryManager
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • RecoveryCommand

      protected RecoveryCommand(ByteString cacheName)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • init

      public void init(ComponentRegistry componentRegistry, boolean isRemote)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      init in interface InitializableCommand
    • isReturnValueExpected

      public boolean isReturnValueExpected()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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.
      Specified by:
      isReturnValueExpected in interface ReplicableCommand
      Returns:
      true or false