public enum PingState extends Enum<PingState>
Modifier and Type | Method and Description |
---|---|
static PingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PingState OK
public static final PingState TIMEOUT
public static final PingState ERROR
public static PingState[] values()
for (PingState c : PingState.values()) System.out.println(c);
public static PingState 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 © 2020 Couchbase, Inc.. All rights reserved.