@Component public class FailoverService extends Object
| Constructor and Description |
|---|
FailoverService(RegistryClient registryClient,
MasterConfig masterConfig,
ProcessService processService,
WorkflowExecuteThreadPool workflowExecuteThreadPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMasterFailover()
check master failover
|
void |
failoverServerWhenDown(String serverHost,
NodeType nodeType)
failover server when server down
|
public FailoverService(RegistryClient registryClient, MasterConfig masterConfig, ProcessService processService, WorkflowExecuteThreadPool workflowExecuteThreadPool)
Copyright © 2022 The Apache Software Foundation. All rights reserved.