@Component public class MasterRegistryClient extends Object
single instance
| Constructor and Description |
|---|
MasterRegistryClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeRegistry() |
void |
deregister() |
void |
handleConnectionState(org.apache.dolphinscheduler.registry.api.ConnectionState state) |
void |
init() |
void |
registry()
registry
|
void |
removeMasterNodePath(String path,
NodeType nodeType,
boolean failover)
remove master node path
|
void |
removeWorkerNodePath(String path,
NodeType nodeType,
boolean failover)
remove worker node path
|
void |
setRegistryStoppable(IStoppable stoppable) |
void |
start() |
public void init()
public void start()
public void setRegistryStoppable(IStoppable stoppable)
public void closeRegistry()
public void removeMasterNodePath(String path, NodeType nodeType, boolean failover)
path - node pathnodeType - node typefailover - is failoverpublic void removeWorkerNodePath(String path, NodeType nodeType, boolean failover)
path - node pathnodeType - node typefailover - is failoverpublic void registry()
public void handleConnectionState(org.apache.dolphinscheduler.registry.api.ConnectionState state)
public void deregister()
Copyright © 2022 The Apache Software Foundation. All rights reserved.