public interface _MetricsAdminOperationsNC
| Modifier and Type | Method and Description |
|---|---|
void |
disableMetricsView(java.lang.String name)
Disable a metrics view.
|
void |
enableMetricsView(java.lang.String name)
Enables a metrics view.
|
MetricsFailures[] |
getMapMetricsFailures(java.lang.String view,
java.lang.String map)
Get the metrics failures associated with the given view and map.
|
MetricsFailures |
getMetricsFailures(java.lang.String view,
java.lang.String map,
java.lang.String id)
Get the metrics failure associated for the given metrics.
|
java.util.Map<java.lang.String,Metrics[]> |
getMetricsView(java.lang.String view,
LongHolder timestamp)
Get the metrics objects for the given metrics view.
|
java.lang.String[] |
getMetricsViewNames(StringSeqHolder disabledViews)
Get the names of enabled and disabled metrics.
|
java.lang.String[] getMetricsViewNames(StringSeqHolder disabledViews)
disabledViews - The names of the disabled views.void enableMetricsView(java.lang.String name)
throws UnknownMetricsView
name - The metrics view name.UnknownMetricsView - Raised if the metrics view cannot be
found.void disableMetricsView(java.lang.String name)
throws UnknownMetricsView
name - The metrics view name.UnknownMetricsView - Raised if the metrics view cannot be
found.java.util.Map<java.lang.String,Metrics[]> getMetricsView(java.lang.String view, LongHolder timestamp) throws UnknownMetricsView
view - The name of the metrics view.timestamp - The local time of the process when the metrics
object were retrieved.UnknownMetricsView - Raised if the metrics view cannot be
found.MetricsFailures[] getMapMetricsFailures(java.lang.String view, java.lang.String map) throws UnknownMetricsView
view - The name of the metrics view.map - The name of the metrics map.UnknownMetricsView - Raised if the metrics view cannot be
found.MetricsFailures getMetricsFailures(java.lang.String view, java.lang.String map, java.lang.String id) throws UnknownMetricsView
view - The name of the metrics view.map - The name of the metrics map.id - The ID of the metrics.UnknownMetricsView - Raised if the metrics view cannot be
found.