public class ClusterHeartBeatFailureMaster extends ClusterHeartBeat
| Modifier and Type | Field and Description |
|---|---|
Map<HostSpec,HostSpec> |
failureMap |
CLUSTER_PROPERTIES| Modifier and Type | Method and Description |
|---|---|
void |
addFailureMaster(HostSpec hostSpec,
HostSpec maseterNode) |
void |
clear() |
Map<HostSpec,HostSpec> |
getFailureMaster() |
static ClusterHeartBeatFailureMaster |
getInstance() |
void |
remove(HostSpec hostSpec) |
void |
run()
If the failed node is alive, join cache maintenance
|
addClusterNode, addNodeRelationship, addProperties, cacheProcess, findMasterNode, getClusterRelationship, getClusterSalveNode, getProperties, getQueryExecutor, initPeriodTime, masterNodeProbe, nodeRoleIsMaster, removeClusterNode, removeProperties, updateDetectionpublic static ClusterHeartBeatFailureMaster getInstance()
public void run()
public void remove(HostSpec hostSpec)
public void clear()
clear in class ClusterHeartBeatCopyright © 2023 openGauss. All rights reserved.