org.apache.hadoop.service
Class LifecycleEvent
java.lang.Object
org.apache.hadoop.service.LifecycleEvent
- All Implemented Interfaces:
- Serializable
@InterfaceAudience.Public
@InterfaceStability.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:
- Serialized Form
Field Summary |
org.apache.hadoop.service.Service.STATE |
state
new state |
long |
time
Local time in milliseconds when the event occurred |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
time
public long time
- Local time in milliseconds when the event occurred
state
public org.apache.hadoop.service.Service.STATE state
- new state
LifecycleEvent
public LifecycleEvent()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.