Class LatencyMarker
java.lang.Object
org.apache.flink.streaming.runtime.streamrecord.StreamElement
org.apache.flink.streaming.runtime.streamrecord.LatencyMarker
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
ConstructorsConstructorDescriptionLatencyMarker(long markedTime, OperatorID operatorId, int subtaskIndex) Creates a latency mark with the given timestamp. -
Method Summary
Methods inherited from class org.apache.flink.streaming.runtime.streamrecord.StreamElement
asLatencyMarker, asRecord, asRecordAttributes, asWatermark, asWatermarkStatus, isLatencyMarker, isRecord, isRecordAttributes, isWatermark, isWatermarkStatus
-
Constructor Details
-
LatencyMarker
Creates a latency mark with the given timestamp.
-
-
Method Details
-
getMarkedTime
public long getMarkedTime()Returns the timestamp marked by the LatencyMarker. -
getOperatorId
-
getSubtaskIndex
public int getSubtaskIndex() -
equals
-
hashCode
public int hashCode() -
toString
-