Enum Class ClientStats.OverloadCause

java.lang.Object
java.lang.Enum<ClientStats.OverloadCause>
org.mqtt4j.hato.ClientStats.OverloadCause
All Implemented Interfaces:
Serializable, Comparable<ClientStats.OverloadCause>, Constable
Enclosing class:
ClientStats

public static enum ClientStats.OverloadCause extends Enum<ClientStats.OverloadCause>
Why the client ended a connection as overloaded.
  • Enum Constant Details

    • RECEPTIONS

      public static final ClientStats.OverloadCause RECEPTIONS
      The unfinished QoS 1 and QoS 2 receptions filled the client's receive table.
    • DELIVERIES

      public static final ClientStats.OverloadCause DELIVERIES
      A QoS 1 or QoS 2 delivery did not fit a subscription's buffer or the client's limits on deliveries, their bytes, and their acknowledgement conditions.
    • HAND_OFF

      public static final ClientStats.OverloadCause HAND_OFF
      A hand-off acceptor refused a QoS 1 or QoS 2 delivery.
    • EVENTS

      public static final ClientStats.OverloadCause EVENTS
      The client fell behind on incoming packets, control events, or keep-alive events. It drops the QoS 0 publications that it falls behind on instead, counted under ClientStats.Receiving.unrouted().
    • RESERVED_SENDS

      public static final ClientStats.OverloadCause RESERVED_SENDS
      CONNECT, PINGREQ, or DISCONNECT found no room in the send capacity reserved for them.
  • Method Details

    • values

      public static ClientStats.OverloadCause[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClientStats.OverloadCause valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null