Class LatencyMarker
- java.lang.Object
-
- org.apache.flink.streaming.runtime.streamrecord.StreamElement
-
- org.apache.flink.streaming.runtime.streamrecord.LatencyMarker
-
@PublicEvolving public final class LatencyMarker extends StreamElement
Special record type carrying a timestamp of its creation time at a source operator and the vertexId and subtask index of the operator.At sinks, the marker can be used to approximate the time a record needs to travel through the dataflow.
-
-
Constructor Summary
Constructors Constructor Description LatencyMarker(long markedTime, org.apache.flink.runtime.jobgraph.OperatorID operatorId, int subtaskIndex)Creates a latency mark with the given timestamp.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetMarkedTime()Returns the timestamp marked by the LatencyMarker.org.apache.flink.runtime.jobgraph.OperatorIDgetOperatorId()intgetSubtaskIndex()inthashCode()StringtoString()-
Methods inherited from class org.apache.flink.streaming.runtime.streamrecord.StreamElement
asLatencyMarker, asRecord, asRecordAttributes, asWatermark, asWatermarkStatus, isLatencyMarker, isRecord, isRecordAttributes, isWatermark, isWatermarkStatus
-
-