public interface KillbillNodesApi extends KillbillApi
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
getCurrentNodeInfo() |
Iterable<NodeInfo> |
getNodesInfo()
Each killbill instance registers its current state (versions, plugins)
when it starts or when changes occur in the system.
|
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, ...)
|
void |
triggerNodeCommand(NodeCommand nodeCommand,
boolean localNodeOnly)
The api will trigger a command that will be issued on all active cluster nodes
|
Iterable<NodeInfo> getNodesInfo()
NodeInfoNodeInfo getCurrentNodeInfo()
NodeInfovoid triggerNodeCommand(NodeCommand nodeCommand, boolean localNodeOnly)
nodeCommand - the command to be triggered across all killbill nodeslocalNodeOnly - the command should only triggered on the node where it appliedvoid notifyPluginChanged(PluginInfo plugin, Iterable<PluginInfo> latestPlugins)
plugin - the info associated to the changed pluginlatestPlugins - the info associated to all pluginsCopyright © 2010-2016. All Rights Reserved.