|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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.
This service depends
on the SchedulerService
.
The CONF_LOGGING_INTERVAL
configuration property indicates how often
snapshots of the instrumentation should be logged.
Field Summary | |
---|---|
static String |
CONF_LOGGING_INTERVAL
|
static String |
CONF_PREFIX
|
Fields inherited from interface org.apache.oozie.service.Service |
---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
InstrumentationService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the instrumentation service. |
Instrumentation |
get()
Return the instrumentation instance used by the service. |
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 String CONF_PREFIX
public static final String CONF_LOGGING_INTERVAL
Constructor Detail |
---|
public InstrumentationService()
Method Detail |
---|
public void init(Services services) throws ServiceException
init
in interface Service
services
- services instance.
ServiceException
- thrown if the service could not initialize.public void destroy()
destroy
in interface Service
public Class<? extends Service> getInterface()
getInterface
in interface Service
InstrumentationService
.public Instrumentation get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |