Enum Class ClientStats.DropReason

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

public static enum ClientStats.DropReason extends Enum<ClientStats.DropReason>
Why a delivery left its subscription unprocessed.
  • Enum Constant Details

    • FAILED

      public static final ClientStats.DropReason FAILED
      Its handler threw, the stripe of its striped handler could not be chosen, or its executor refused it.
    • CONNECTION_ENDED

      public static final ClientStats.DropReason CONNECTION_ENDED
      The end of the connection that delivered it discarded it while it waited.
    • SUBSCRIPTION_STOPPED

      public static final ClientStats.DropReason SUBSCRIPTION_STOPPED
      Its subscription stopped while it waited.
    • SUBSCRIPTION_FULL

      public static final ClientStats.DropReason SUBSCRIPTION_FULL
      The client dropped a QoS 0 delivery to keep its subscription within its buffer capacity.
    • CLIENT_FULL

      public static final ClientStats.DropReason CLIENT_FULL
      The client dropped a QoS 0 delivery to keep within its limits on deliveries and their bytes.
    • REFUSED

      public static final ClientStats.DropReason REFUSED
      Its hand-off acceptor refused it.
  • Method Details

    • values

      public static ClientStats.DropReason[] 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.DropReason 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