public class MetricsInstrumentationService extends InstrumentationService
Instrumentation instance mostly compatible with the original Instrumentation, but backed by
 Codahale Metrics.  This service depends on the SchedulerService. 
 The InstrumentationService.CONF_LOGGING_INTERVAL
 configuration property indicates how often snapshots of the instrumentation should be logged.
CONF_LOGGING_INTERVAL, CONF_PREFIX, instrumentationDEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description | 
|---|
MetricsInstrumentationService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()
Destroy the metrics instrumentation service. 
 | 
void | 
init(Services services)
Initialize the metrics instrumentation service. 
 | 
static boolean | 
isEnabled()
Returns if the MetricsInstrumentationService is enabled or not. 
 | 
get, getInterfacepublic MetricsInstrumentationService()
public void init(Services services) throws ServiceException
init in interface Serviceinit in class InstrumentationServiceservices - services instance.ServiceExceptionpublic void destroy()
destroy in interface Servicedestroy in class InstrumentationServicepublic static boolean isEnabled()
Copyright © 2016 Apache Software Foundation. All rights reserved.