com.hazelcast.core

## Class LifecycleEvent

- java.lang.Object
- - com.hazelcast.core.LifecycleEvent

-     public final class LifecycleEvent
      extends Object

  Lifecycle events are fired when the HazelcastInstance state changes.

  Events are fired when the instance is:

  - Starting
  - Started
  - Shutting down
  - Shut down completed
  - Merging
  - Merged
  See Also:
    `LifecycleListener`, `HazelcastInstance.getLifecycleService()`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LifecycleEvent.LifecycleState` Lifecycle states

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LifecycleEvent(LifecycleEvent.LifecycleState state)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `LifecycleEvent.LifecycleState` | `getState()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### LifecycleEvent

          public LifecycleEvent(LifecycleEvent.LifecycleState state)

  - ### Method Detail

    - #### getState

          public LifecycleEvent.LifecycleState getState()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2020. All rights reserved.