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

- Packages that use ServiceStateChangeListener
  Package | Description
  --- | ---
  org.apache.hadoop.service |

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

    Classes in org.apache.hadoop.service that implement ServiceStateChangeListener
    Modifier and Type | Class and 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 and 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` | Service.`registerServiceListener(ServiceStateChangeListener listener)` Register a listener to the service state change events.
    `void` | AbstractService.`registerServiceListener(ServiceStateChangeListener l)`
    `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` | Service.`unregisterServiceListener(ServiceStateChangeListener listener)` Unregister a previously registered listener of the service state change events.
    `void` | AbstractService.`unregisterServiceListener(ServiceStateChangeListener l)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.