public enum MonitoringConnectionPriority extends java.lang.Enum<MonitoringConnectionPriority>
| Enum Constant and Description |
|---|
STRICT_READER |
STRICT_WRITER |
WRITER_OR_READER |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable MonitoringConnectionPriority |
fromValue(@Nullable java.lang.String value) |
boolean |
isSatisfiedBy(boolean isWriter)
Checks if a connection with the given writer status satisfies this priority.
|
static java.util.List<MonitoringConnectionPriority> |
parseList(@Nullable java.lang.String value) |
static MonitoringConnectionPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonitoringConnectionPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoringConnectionPriority STRICT_WRITER
public static final MonitoringConnectionPriority STRICT_READER
public static final MonitoringConnectionPriority WRITER_OR_READER
public static MonitoringConnectionPriority[] values()
for (MonitoringConnectionPriority c : MonitoringConnectionPriority.values()) System.out.println(c);
public static MonitoringConnectionPriority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static @Nullable MonitoringConnectionPriority fromValue(@Nullable java.lang.String value)
public static java.util.List<MonitoringConnectionPriority> parseList(@Nullable java.lang.String value)
public boolean isSatisfiedBy(boolean isWriter)
isWriter - true if the connection is to a writer instance