Class CorrelationData.Confirm

  • Enclosing class:
    CorrelationData

    public static class CorrelationData.Confirm
    extends java.lang.Object
    Represents a publisher confirmation. When the ack field is true, the publish was successful; otherwise failed with a possible reason (may be null, meaning unknown).
    Since:
    2.1
    • Constructor Summary

      Constructors 
      Constructor Description
      Confirm​(boolean ack, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReason()  
      boolean isAck()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Confirm

        public Confirm​(boolean ack,
                       @Nullable
                       java.lang.String reason)
    • Method Detail

      • isAck

        public boolean isAck()
      • getReason

        public java.lang.String getReason()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object