Class StateTransitionEvent<T extends java.io.Serializable>
- java.lang.Object
-
- org.apache.nemo.runtime.common.metric.Event
-
- org.apache.nemo.runtime.common.metric.StateTransitionEvent<T>
-
- Type Parameters:
T
- class of state for the metric.
- All Implemented Interfaces:
java.io.Serializable
public final class StateTransitionEvent<T extends java.io.Serializable> extends Event
Event of state transition. It contains timestamp and the state transition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateTransitionEvent(long timestamp, T prevState, T newState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getNewState()
Get new state.T
getPrevState()
Get previous state.-
Methods inherited from class org.apache.nemo.runtime.common.metric.Event
getTimestamp, setTimestamp
-
-