Class Event
- java.lang.Object
-
- org.apache.nemo.runtime.common.metric.Event
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DataTransferEvent
,StateTransitionEvent
public class Event extends java.lang.Object implements java.io.Serializable
Class for all generic event that contains timestamp at the moment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event(long timestamp)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimestamp()
Get timestamp.void
setTimestamp(long timestamp)
Set timestamp.
-