Interface KillbillNodesApi

    • Method Detail

      • getNodesInfo

        Iterable<NodeInfo> getNodesInfo()
        Each killbill instance registers its current state (versions, plugins) when it starts or when changes occur in the system. The api will return that information across all nodes.

        Returns:
        the list NodeInfo
      • getCurrentNodeInfo

        NodeInfo getCurrentNodeInfo()
        Returns:
        the current NodeInfo
      • triggerNodeCommand

        void triggerNodeCommand​(NodeCommand nodeCommand,
                                boolean localNodeOnly)
        The api will trigger a command that will be issued on all active cluster nodes
        Parameters:
        nodeCommand - the command to be triggered across all killbill nodes
        localNodeOnly - the command should only triggered on the node where it applied
      • notifyPluginChanged

        void notifyPluginChanged​(PluginInfo plugin,
                                 Iterable<PluginInfo> latestPlugins)
        The api is used to notify core killbill system about changes in the plugins (new installed plugin, started, stopped, ...)
        Parameters:
        plugin - the info associated to the changed plugin
        latestPlugins - the info associated to all plugins