public enum ConnectionMode extends Enum<ConnectionMode>
| Enum Constant and Description |
|---|
CONNECTION_STRICTLY |
MEMORY_STRICTLY |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionMode MEMORY_STRICTLY
public static final ConnectionMode CONNECTION_STRICTLY
public static ConnectionMode[] values()
for (ConnectionMode c : ConnectionMode.values()) System.out.println(c);
public static ConnectionMode 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 © 2022 The Apache Software Foundation. All rights reserved.