public enum HostStatus extends Enum<HostStatus>
Enum Constant and Description |
---|
ConnectFail |
ConnectOK |
Primary |
Secondary |
Modifier and Type | Method and Description |
---|---|
static HostStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostStatus ConnectFail
public static final HostStatus ConnectOK
public static final HostStatus Primary
public static final HostStatus Secondary
public static HostStatus[] values()
for (HostStatus c : HostStatus.values()) System.out.println(c);
public static HostStatus 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 © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.