public class MetricsAdminI extends _MetricsAdminDisp implements PropertiesAdminUpdateCallback
__ids, serialVersionUIDice_staticId| Constructor and Description |
|---|
MetricsAdminI(Properties properties,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableMetricsView(java.lang.String name,
Current current)
Disable a metrics view.
|
void |
enableMetricsView(java.lang.String name,
Current current)
Enables a metrics view.
|
Logger |
getLogger() |
MetricsFailures[] |
getMapMetricsFailures(java.lang.String viewName,
java.lang.String mapName,
Current current)
Get the metrics failures associated with the given view and map.
|
<T extends Metrics> |
getMaps(java.lang.String mapName,
java.lang.Class<T> cl) |
MetricsFailures |
getMetricsFailures(java.lang.String viewName,
java.lang.String mapName,
java.lang.String id,
Current current)
Get the metrics failure associated for the given metrics.
|
java.util.Map<java.lang.String,Metrics[]> |
getMetricsView(java.lang.String viewName,
LongHolder holder,
Current current)
Get the metrics objects for the given metrics view.
|
java.lang.String[] |
getMetricsViewNames(StringSeqHolder holder,
Current current)
Get the names of enabled and disabled metrics.
|
<T extends Metrics> |
registerMap(java.lang.String map,
java.lang.Class<T> cl,
java.lang.Runnable updater) |
<S extends Metrics> |
registerSubMap(java.lang.String map,
java.lang.String subMap,
java.lang.Class<S> cl,
java.lang.reflect.Field field) |
void |
unregisterMap(java.lang.String mapName) |
void |
updated(java.util.Map<java.lang.String,java.lang.String> props) |
void |
updateViews() |
___disableMetricsView, ___enableMetricsView, ___getMapMetricsFailures, ___getMetricsFailures, ___getMetricsView, ___getMetricsViewNames, __dispatch, __readImpl, __writeImpl, disableMetricsView, enableMetricsView, getMapMetricsFailures, getMetricsFailures, getMetricsView, getMetricsViewNames, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalpublic MetricsAdminI(Properties properties, Logger logger)
public void updateViews()
public java.lang.String[] getMetricsViewNames(StringSeqHolder holder, Current current)
_MetricsAdminOperationsgetMetricsViewNames in interface _MetricsAdminOperationsholder - The names of the disabled views.current - The Current object for the invocation.public void enableMetricsView(java.lang.String name,
Current current)
throws UnknownMetricsView
_MetricsAdminOperationsenableMetricsView in interface _MetricsAdminOperationsname - The metrics view name.current - The Current object for the invocation.UnknownMetricsView - Raised if the metrics view cannot be
found.public void disableMetricsView(java.lang.String name,
Current current)
throws UnknownMetricsView
_MetricsAdminOperationsdisableMetricsView in interface _MetricsAdminOperationsname - The metrics view name.current - The Current object for the invocation.UnknownMetricsView - Raised if the metrics view cannot be
found.public java.util.Map<java.lang.String,Metrics[]> getMetricsView(java.lang.String viewName, LongHolder holder, Current current) throws UnknownMetricsView
_MetricsAdminOperationsgetMetricsView in interface _MetricsAdminOperationsviewName - The name of the metrics view.holder - The local time of the process when the metrics
object were retrieved.current - The Current object for the invocation.UnknownMetricsView - Raised if the metrics view cannot be
found.public MetricsFailures[] getMapMetricsFailures(java.lang.String viewName, java.lang.String mapName, Current current) throws UnknownMetricsView
_MetricsAdminOperationsgetMapMetricsFailures in interface _MetricsAdminOperationsviewName - The name of the metrics view.mapName - The name of the metrics map.current - The Current object for the invocation.UnknownMetricsView - Raised if the metrics view cannot be
found.public MetricsFailures getMetricsFailures(java.lang.String viewName, java.lang.String mapName, java.lang.String id, Current current) throws UnknownMetricsView
_MetricsAdminOperationsgetMetricsFailures in interface _MetricsAdminOperationsviewName - The name of the metrics view.mapName - The name of the metrics map.id - The ID of the metrics.current - The Current object for the invocation.UnknownMetricsView - Raised if the metrics view cannot be
found.public <T extends Metrics> void registerMap(java.lang.String map, java.lang.Class<T> cl, java.lang.Runnable updater)
public <S extends Metrics> void registerSubMap(java.lang.String map, java.lang.String subMap, java.lang.Class<S> cl, java.lang.reflect.Field field)
public void unregisterMap(java.lang.String mapName)
public <T extends Metrics> java.util.List<MetricsMap<T>> getMaps(java.lang.String mapName, java.lang.Class<T> cl)
public Logger getLogger()
public void updated(java.util.Map<java.lang.String,java.lang.String> props)
updated in interface PropertiesAdminUpdateCallback