public enum QoS extends Enum<QoS>
Enum Constant and Description |
---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
Modifier and Type | Method and Description |
---|---|
static QoS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QoS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QoS AT_MOST_ONCE
public static final QoS AT_LEAST_ONCE
public static final QoS EXACTLY_ONCE
public static QoS[] values()
for (QoS c : QoS.values()) System.out.println(c);
public static QoS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 The Apache Software Foundation. All rights reserved.