This project has retired. For details please refer to its
        
        Attic page .
      
 
 
InstrumentationService (Oozie Core 3.1.3-incubating API)
 
 
 
 
 
 
 
 
 
org.apache.oozie.service 
 
Class InstrumentationService 
java.lang.Object 
  org.apache.oozie.service.InstrumentationService 
 
All Implemented Interfaces:  Service  
 
 
public class InstrumentationService  extends Object implements Service    
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.
 
 
  
 
 
 
 
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  
 
 
 
CONF_PREFIX 
public static final String  CONF_PREFIX  
See Also: Constant Field Values  
 
 
CONF_LOGGING_INTERVAL 
public static final String  CONF_LOGGING_INTERVAL  
See Also: Constant Field Values  
 
 
InstrumentationService 
public InstrumentationService  () 
 
 
init 
public void init  (Services  services)
          throws ServiceException  
Initialize the instrumentation service.
Specified by: init  in interface Service  
 
Parameters: services - services instance.
Throws: 
ServiceException  - thrown if the service could not initialize. 
 
  
 
destroy 
public void destroy  () 
Destroy the instrumentation service.
Specified by: destroy  in interface Service  
 
 
 
  
 
getInterface 
public Class <? extends Service > getInterface  () 
Return the public interface for instrumentation service.
Specified by: getInterface  in interface Service  
 
Returns: InstrumentationService . 
 
  
 
get 
public Instrumentation  get  () 
Return the instrumentation instance used by the service.
 
 
Returns: the instrumentation instance.  
 
  
 
 
 
 
 
Copyright © 2012 Apache Software Foundation . All Rights Reserved.