Interface LifecycleListener

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

@FunctionalInterface public interface LifecycleListener extends EventListener
Listener object for listening to lifecycle events of the Hazelcast instance
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.
      Parameters:
      event - the Lifecycle event