Class SchedulerService
java.lang.Object
org.apache.hadoop.lib.server.BaseService
org.apache.hadoop.lib.service.scheduler.SchedulerService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.lib.server.BaseService
getPrefix, getPrefixedName, getServer, getServiceConfig, init, postInit, serverStatusChange
-
Field Details
-
PREFIX
- See Also:
-
CONF_THREADS
- See Also:
-
-
Constructor Details
-
SchedulerService
public SchedulerService()
-
-
Method Details
-
init
Description copied from class:BaseServiceInitializes the server.This method is called by
BaseService.init(Server)after all service properties (properties prefixed with- Specified by:
initin classBaseService- Throws:
ServiceException- thrown if the service could not be initialized.
-
destroy
public void destroy()Description copied from class:BaseServiceDestroy the services. This method is called once, when theServerowning the service is being destroyed.This method does a NOP.
- Specified by:
destroyin interfaceService- Overrides:
destroyin classBaseService
-
getServiceDependencies
Description copied from class:BaseServiceReturns the service dependencies of this service. The service will be instantiated only if all the service dependencies are already initialized.This method returns an empty array (size 0)
- Specified by:
getServiceDependenciesin interfaceService- Overrides:
getServiceDependenciesin classBaseService- Returns:
- an empty array (size 0).
-
getInterface
Description copied from interface:ServiceReturns the interface implemented by this service. This interface is used theServerwhen theServer.get(Class)method is used to retrieve a service.- Specified by:
getInterfacein interfaceService- Returns:
- the interface that identifies the service.
-
schedule
-
schedule
-