Interface LifecycleListener

All Superinterfaces:
All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public interface LifecycleListener
extends EventListener
Listener object for listening to lifecycle events of the Hazelcast instance
See Also:
LifecycleEvent, HazelcastInstance.getLifecycleService()
  • Method Summary

    Modifier and Type Method Description
    void stateChanged​(LifecycleEvent event)
    Called when instance's state changes.
  • Method Details

    • stateChanged

      void stateChanged​(LifecycleEvent event)
      Called when instance's state changes. No blocking calls should be made in this method.
      event - the Lifecycle event