Class ReplayableWorkItem<T>


  • public class ReplayableWorkItem<T>
    extends WorkItem<T>
    • Constructor Detail

      • ReplayableWorkItem

        public ReplayableWorkItem​(byte[] amqpMessage,
                                  int encodedMessageSize,
                                  int messageFormat,
                                  CompletableFuture<T> completableFuture,
                                  Duration timeout)
      • ReplayableWorkItem

        public ReplayableWorkItem​(byte[] amqpMessage,
                                  int encodedMessageSize,
                                  int messageFormat,
                                  CompletableFuture<T> completableFuture,
                                  TimeoutTracker timeout)
    • Method Detail

      • getMessage

        public byte[] getMessage()
      • clearMessage

        public void clearMessage()
      • getEncodedMessageSize

        public int getEncodedMessageSize()
      • getMessageFormat

        public int getMessageFormat()
      • getLastKnownException

        public Exception getLastKnownException()
      • setLastKnownException

        public void setLastKnownException​(Exception exception)
      • setWaitingForAck

        public void setWaitingForAck()
      • isWaitingForAck

        public boolean isWaitingForAck()