Package io.vertigo.commons.app
Interface AppManager
- All Superinterfaces:
io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Manager
- All Known Implementing Classes:
AppManagerImpl
public interface AppManager
extends io.vertigo.core.node.component.Manager
Node Manager.
- Author:
- mlaroche
-
Method Summary
Modifier and TypeMethodDescriptionFind a node by an idA consolidated view of the config of the appGet the current nodeList the dead nodes of the appgetStats()A consolidated view of the stats of the appA consolidated view of the cluster (id+status)Get the whole topology of an applocateSkills(String... skills) Find node with a given skill
-
Method Details
-
find
Find a node by an id- Parameters:
nodeId- the id to look for- Returns:
- the optional found Node
-
locateSkills
Find node with a given skill- Parameters:
skills- the skills to look for- Returns:
- the Node matching the skills
-
getTopology
Get the whole topology of an app- Returns:
- the topology
-
getCurrentNode
AppNode getCurrentNode()Get the current node- Returns:
- the current node
-
getDeadNodes
List the dead nodes of the app- Returns:
- the dead nodes
-
getStatus
A consolidated view of the cluster (id+status)- Returns:
- the overall status
-
getStats
A consolidated view of the stats of the app- Returns:
- the overall stats
-
getConfig
A consolidated view of the config of the app- Returns:
- the overall config
-