public interface NodeStatus
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.
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getMetrics(java.lang.String... names)
Get the current metrics or other dynamic data from the node.
|
java.util.Map<java.lang.String,java.lang.Object> getMetrics(java.lang.String... names)
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.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0