Uses of Interface
org.apache.hadoop.service.Service
Packages that use Service
Package
Description
Support for services.
This package contains classes, interfaces and exceptions to launch
YARN services from the command line.
Common utilities.
-
Uses of Service in org.apache.hadoop.service
Classes in org.apache.hadoop.service that implement ServiceModifier and TypeClassDescriptionclassThis is the base implementation class for services.classComposition of services.Methods in org.apache.hadoop.service that return types with arguments of type ServiceMethods in org.apache.hadoop.service with parameters of type ServiceModifier and TypeMethodDescriptionprotected voidCompositeService.addService(Service service) Add the passedServiceto the list of services managed by thisCompositeServicevoidServiceOperations.ServiceListeners.notifyListeners(Service service) Change to a new state and notify all listeners.protected booleanCompositeService.removeService(Service service) voidLoggingStateChangeListener.stateChanged(Service service) Callback for a state change event: log itvoidServiceStateChangeListener.stateChanged(Service service) Callback to notify of a state change.static voidStop a service.static ExceptionServiceOperations.stopQuietly(org.apache.commons.logging.Log log, Service service) Deprecated.to be removed with 3.4.0.static ExceptionServiceOperations.stopQuietly(Service service) Stop a service; if it is null do nothing.static ExceptionServiceOperations.stopQuietly(org.slf4j.Logger log, Service service) Stop a service; if it is null do nothing. -
Uses of Service in org.apache.hadoop.service.launcher
Classes in org.apache.hadoop.service.launcher with type parameters of type ServiceModifier and TypeClassDescriptionclassServiceLauncher<S extends Service>A class to launch any YARN service by name.Subinterfaces of Service in org.apache.hadoop.service.launcherModifier and TypeInterfaceDescriptioninterfaceAn interface which services can implement to have their execution managed by the ServiceLauncher.Classes in org.apache.hadoop.service.launcher that implement ServiceModifier and TypeClassDescriptionclassSubclass ofAbstractServicethat provides basic implementations of theLaunchableServicemethods.Methods in org.apache.hadoop.service.launcher that return ServiceConstructors in org.apache.hadoop.service.launcher with parameters of type ServiceModifierConstructorDescriptionServiceForcedShutdown(Service service, int shutdownTimeMillis) ServiceShutdownHook(Service service) Create an instance. -
Uses of Service in org.apache.hadoop.util
Classes in org.apache.hadoop.util that implement ServiceModifier and TypeClassDescriptionclassClass which sets up a simple thread which runs in a loop sleeping for a short interval of time.