com.hazelcast.core

## Interface LifecycleListener

- All Superinterfaces:
    EventListener
  All Known Implementing Classes:
    ClientStateListener

      public interface LifecycleListener
      extends EventListener

  Listener object for listening to lifecycle events of the Hazelcast instance
  See Also:
    `LifecycleEvent`, `HazelcastInstance.getLifecycleService()`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `stateChanged(LifecycleEvent event)` Called when instance's state changes.

- - ### Method Detail

    - #### stateChanged

          void stateChanged(LifecycleEvent event)

      Called when instance's state changes. No blocking calls should be made in this method.
      Parameters:
        `event` - the Lifecycle event

Copyright © 2019. All rights reserved.