public enum QualityOfServiceMode extends Enum<QualityOfServiceMode>
Enum Constant and Description |
---|
AT_MOST_ONCE |
DUPLICATES_OK |
ONCE_AND_ONLY_ONCE |
Modifier and Type | Method and Description |
---|---|
int |
intValue() |
static QualityOfServiceMode |
valueOf(int value) |
static QualityOfServiceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QualityOfServiceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QualityOfServiceMode AT_MOST_ONCE
public static final QualityOfServiceMode DUPLICATES_OK
public static final QualityOfServiceMode ONCE_AND_ONLY_ONCE
public static QualityOfServiceMode[] values()
for (QualityOfServiceMode c : QualityOfServiceMode.values()) System.out.println(c);
public static QualityOfServiceMode 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 nullpublic int intValue()
public static QualityOfServiceMode valueOf(int value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.