Class RecoveryOperation

All Implemented Interfaces:
Runnable, CompletionStage<Collection<Xid>>, Future<Collection<Xid>>, HotRodConstants, ChannelOperation

public class RecoveryOperation extends RetryOnFailureOperation<Collection<Xid>>
A recovery request from the TransactionManager.

It returns all in-doubt transactions seen by the server.

Since:
14.0
  • Constructor Details

    • RecoveryOperation

      public RecoveryOperation(OperationContext operationContext)
  • Method Details

    • acceptResponse

      public void acceptResponse(io.netty.buffer.ByteBuf buf, short status, HeaderDecoder decoder)
      Specified by:
      acceptResponse in class HotRodOperation<Collection<Xid>>
    • executeOperation

      protected void executeOperation(io.netty.channel.Channel channel)
      Description copied from class: RetryOnFailureOperation
      Perform the operation-specific request/response I/O on the specified channel. If an error occurs during I/O, this class will detect it and retry the operation with a different channel by invoking the executeOperation method again.
      Specified by:
      executeOperation in class RetryOnFailureOperation<Collection<Xid>>
      Parameters:
      channel - the channel to use for I/O