| Package | Description |
|---|---|
| org.postgresql.hostchooser |
| Modifier and Type | Method and Description |
|---|---|
static HostStatus |
HostStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostStatus[] |
HostStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
HostRequirement.allowConnectingTo(HostStatus status) |
static void |
GlobalHostStatusTracker.observationState(Properties prop,
HostStatus originalHostStatus,
HostStatus currentHostStatus,
HostSpec hostSpec)
To observe whether the status changes from standby to master
|
static void |
GlobalHostStatusTracker.reportHostStatus(HostSpec hostSpec,
HostStatus hostStatus,
Properties prop)
Store the actual observed host status.
|
Copyright © 2023 openGauss. All rights reserved.