| Package | Description |
|---|---|
| org.postgresql.clusterchooser |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<ClusterSpec> |
GlobalClusterStatusTracker.getClusterFromHostSpecs(HostSpec[] hostSpecs,
Properties info)
Split the clusters in the url, get the master cluster first when there are dual clusters.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
GlobalClusterStatusTracker.keyFromClusterSpec(ClusterSpec clusterSpec)
Returns a key representing the cluster based on clusterSpec.
|
static void |
GlobalClusterStatusTracker.reportClusterStatus(ClusterSpec clusterSpec,
ClusterStatus clusterStatus)
Store the actual observed cluster status.
|
static void |
GlobalClusterStatusTracker.reportMasterCluster(Properties props,
ClusterSpec clusterSpec)
The actual primary cluster in the storage cluster.
|
Copyright © 2023 openGauss. All rights reserved.