Uses of Interface org.apache.hadoop.service.ServiceStateChangeListener (Apache Hadoop Common 3.5.0 API)
Description: use: package: org.apache.hadoop.service, interface: ServiceStateChangeListener

# Uses of Interface
org.apache.hadoop.service.ServiceStateChangeListener

Packages that use ServiceStateChangeListener
Package
Description
org.apache.hadoop.service
Support for services.

- ## Uses of ServiceStateChangeListener in org.apache.hadoop.service

  Classes in org.apache.hadoop.service that implement ServiceStateChangeListener
  Modifier and Type
  Class
  Description
  `class`
  `LoggingStateChangeListener`
  This is a state change listener that logs events at INFO level
  Methods in org.apache.hadoop.service with parameters of type ServiceStateChangeListener
  Modifier and Type
  Method
  Description
  `void`
  ServiceOperations.ServiceListeners.`add(ServiceStateChangeListener l)`
  Thread-safe addition of a new listener to the end of a list.
  `static void`
  AbstractService.`registerGlobalListener(ServiceStateChangeListener l)`
  Register a global listener, which receives notifications from the state change events of all services in the JVM
  `void`
  AbstractService.`registerServiceListener(ServiceStateChangeListener l)`
  `void`
  Service.`registerServiceListener(ServiceStateChangeListener listener)`
  Register a listener to the service state change events.
  `boolean`
  ServiceOperations.ServiceListeners.`remove(ServiceStateChangeListener l)`
  Remove any registration of a listener from the listener list.
  `static boolean`
  AbstractService.`unregisterGlobalListener(ServiceStateChangeListener l)`
  unregister a global listener.
  `void`
  AbstractService.`unregisterServiceListener(ServiceStateChangeListener l)`
  `void`
  Service.`unregisterServiceListener(ServiceStateChangeListener listener)`
  Unregister a previously registered listener of the service state change events.