org.apache.hadoop.service (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.service

# Package org.apache.hadoop.service

@Public package org.apache.hadoop.service
Support for services.

- Related Packages
  Package
  Description
  org.apache.hadoop
  org.apache.hadoop.service.launcher
  This package contains classes, interfaces and exceptions to launch YARN services from the command line.
- Class
  Description
  AbstractService
  This is the base implementation class for services.
  CompositeService
  Composition of services.
  org.apache.hadoop.service.CompositeService.CompositeServiceShutdownHook
  JVM Shutdown hook for CompositeService which will stop the give CompositeService gracefully in case of JVM shutdown.
  LifecycleEvent
  A serializable lifecycle event: the time a state transition occurred, and what state was entered.
  LoggingStateChangeListener
  This is a state change listener that logs events at INFO level
  Service
  Service LifeCycle.
  Service.STATE
  Service states
  ServiceOperations
  This class contains a set of methods to work with services, especially to walk them through their lifecycle.
  org.apache.hadoop.service.ServiceOperations.ServiceListeners
  Class to manage a list of `ServiceStateChangeListener` instances, including a notification loop that is robust against changes to the list during the notification process.
  ServiceStateChangeListener
  Interface to notify state changes of a service.
  ServiceStateException
  Exception that can be raised on state change operations, whose exit code can be explicitly set, determined from that of any nested cause, or a default value of `LauncherExitCodes.EXIT_SERVICE_LIFECYCLE_EXCEPTION`.
  ServiceStateModel
  Implements the service state model.