public enum ListenerPriority extends Enum<ListenerPriority>
| Enum Constant and Description |
|---|
CRITICAL |
HIGH |
LOW |
NORMAL |
REALTIME
Provide access to events in near real time for specialised services that
need priority access to events.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ListenerPriority rhs) |
static ListenerPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerPriority REALTIME
public static final ListenerPriority CRITICAL
public static final ListenerPriority HIGH
public static final ListenerPriority NORMAL
public static final ListenerPriority LOW
public static ListenerPriority[] values()
for (ListenerPriority c : ListenerPriority.values()) System.out.println(c);
public static ListenerPriority 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 compare(ListenerPriority rhs)
Copyright © 2004–2021. All rights reserved.