Class LifecycleEvent

java.lang.Object
org.apache.hadoop.service.LifecycleEvent
All Implemented Interfaces:
Serializable

@Public @Evolving public class LifecycleEvent extends Object implements Serializable
A serializable lifecycle event: the time a state transition occurred, and what state was entered.
See Also:
  • Field Details

    • time

      public long time
      Local time in milliseconds when the event occurred
    • state

      public Service.STATE state
      new state
  • Constructor Details

    • LifecycleEvent

      public LifecycleEvent()