- All Known Subinterfaces:
public interface NodeStatus
The NodeStatus service represents a node in the cluster.
A node could represent an entity available in the network that is not necessarily running an OSGi framework, such as a database or a load balancer.
Method SummaryModifier and TypeMethodDescription
(String... names)Get the current metrics or other dynamic data from the node.
getMetricsGet the current metrics or other dynamic data from the node. Nodes may support custom metrics and as such the caller can request those metrics by name. The caller can specify the metric names to avoid having to compute and send all metrics over, if the caller is only interested in a subset of the available metrics.
names- a set of metric names that have to be obtained from the node. Of no names are specified all available metrics will be obtained. If a metric is requested that is not available by the node this metric is ignored and not present in the returned map.
- Map with the current node metrics