|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.service.InstrumentationService
public class InstrumentationService
This service provides an Instrumentation instance configured to support samplers.
SchedulerService. The CONF_LOGGING_INTERVAL configuration property indicates how often
snapshots of the instrumentation should be logged.
| Field Summary | |
|---|---|
static java.lang.String |
CONF_LOGGING_INTERVAL
|
static java.lang.String |
CONF_PREFIX
|
| Constructor Summary | |
|---|---|
InstrumentationService()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy the instrumentation service. |
Instrumentation |
get()
Return the instrumentation instance used by the service. |
java.lang.Class<? extends Service> |
getInterface()
Return the public interface for instrumentation service. |
void |
init(Services services)
Initialize the instrumentation service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONF_PREFIX
public static final java.lang.String CONF_LOGGING_INTERVAL
| Constructor Detail |
|---|
public InstrumentationService()
| Method Detail |
|---|
public void init(Services services)
throws ServiceException
init in interface Serviceservices - services instance.
ServiceException - thrown if the service could not initialize.public void destroy()
destroy in interface Servicepublic java.lang.Class<? extends Service> getInterface()
getInterface in interface ServiceInstrumentationService.public Instrumentation get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||