@Deprecated public class InstrumentationService extends Object implements Service
Instrumentation instance configured to support samplers. This service depends
on the SchedulerService.
The CONF_LOGGING_INTERVAL configuration property indicates how often
snapshots of the instrumentation should be logged.
| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_LOGGING_INTERVAL
Deprecated.
|
static String |
CONF_PREFIX
Deprecated.
|
protected static Instrumentation |
instrumentation
Deprecated.
|
DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description |
|---|
InstrumentationService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deprecated.
Destroy the instrumentation service.
|
Instrumentation |
get()
Deprecated.
Return the instrumentation instance used by the service.
|
Class<? extends Service> |
getInterface()
Deprecated.
Return the public interface for instrumentation service.
|
void |
init(Services services)
Deprecated.
Initialize the instrumentation service.
|
static boolean |
isEnabled()
Deprecated.
Returns if the InstrumentationService is enabled or not.
|
public static final String CONF_PREFIX
public static final String CONF_LOGGING_INTERVAL
protected static Instrumentation instrumentation
public InstrumentationService()
public void init(Services services) throws ServiceException
init in interface Serviceservices - services instance.ServiceException - thrown if the service could not initialize.public void destroy()
public Class<? extends Service> getInterface()
getInterface in interface ServiceInstrumentationService.public Instrumentation get()
public static boolean isEnabled()
Copyright © 2020 Apache Software Foundation. All rights reserved.