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 Detail

      • find

        Optional<AppNode> find​(String nodeId)
        Find a node by an id
        Parameters:
        nodeId - the id to look for
        Returns:
        the optional found Node
      • locateSkills

        List<AppNode> locateSkills​(String... skills)
        Find node with a given skill
        Parameters:
        skills - the skills to look for
        Returns:
        the Node matching the skills
      • getTopology

        List<AppNode> getTopology()
        Get the whole topology of an app
        Returns:
        the topology
      • getCurrentNode

        AppNode getCurrentNode()
        Get the current node
        Returns:
        the current node
      • getDeadNodes

        List<AppNode> getDeadNodes()
        List the dead nodes of the app
        Returns:
        the dead nodes
      • getStatus

        Map<String,​List<io.vertigo.core.analytics.health.HealthCheck>> getStatus()
        A consolidated view of the cluster (id+status)
        Returns:
        the overall status
      • getStats

        Map<String,​Object> getStats()
        A consolidated view of the stats of the app
        Returns:
        the overall stats
      • getConfig

        Map<String,​String> getConfig()
        A consolidated view of the config of the app
        Returns:
        the overall config