Class CompleteTransactionOperation

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

public class CompleteTransactionOperation extends RetryOnFailureOperation<Integer>
Represents a commit or rollback request from the TransactionManager.
Since:
9.3
Author:
Pedro Ruivo
  • Constructor Details

  • Method Details

    • 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<Integer>
      Parameters:
      channel - the channel to use for I/O
    • acceptResponse

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