public final class AppManagerImpl extends Object implements AppManager, Activeable
| Modifier and Type | Class and Description |
|---|---|
static class |
AppManagerImpl.NodeStatus |
| Constructor and Description |
|---|
AppManagerImpl(Optional<AppNodeRegistryPlugin> nodeRegistryPluginOpt,
List<AppNodeInfosPlugin> nodeInfosPlugins) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Node> |
find(String nodeId) |
Map<String,String> |
getConfig() |
Node |
getCurrentNode() |
List<Node> |
getDeadNodes() |
Map<String,Object> |
getStats() |
Map<String,List<HealthCheck>> |
getStatus() |
List<Node> |
getTopology() |
List<Node> |
locateSkills(String... skills) |
void |
start() |
void |
stop() |
void |
updateNodeStatus() |
@Inject public AppManagerImpl(Optional<AppNodeRegistryPlugin> nodeRegistryPluginOpt, List<AppNodeInfosPlugin> nodeInfosPlugins)
public void updateNodeStatus()
public void start()
start in interface Activeablepublic void stop()
stop in interface Activeablepublic Optional<Node> find(String nodeId)
find in interface AppManagerpublic List<Node> locateSkills(String... skills)
locateSkills in interface AppManagerpublic List<Node> getTopology()
getTopology in interface AppManagerpublic Node getCurrentNode()
getCurrentNode in interface AppManagerpublic List<Node> getDeadNodes()
getDeadNodes in interface AppManagerpublic Map<String,List<HealthCheck>> getStatus()
getStatus in interface AppManagerpublic Map<String,Object> getStats()
getStats in interface AppManagerpublic Map<String,String> getConfig()
getConfig in interface AppManagerCopyright © 2019. All rights reserved.