@PublicEvolving public final class LatencyMarker extends StreamElement
At sinks, the marker can be used to approximate the time a record needs to travel through the dataflow.
| Constructor and Description |
|---|
LatencyMarker(long markedTime,
org.apache.flink.runtime.jobgraph.OperatorID operatorId,
int subtaskIndex)
Creates a latency mark with the given timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getMarkedTime()
Returns the timestamp marked by the LatencyMarker.
|
org.apache.flink.runtime.jobgraph.OperatorID |
getOperatorId() |
int |
getSubtaskIndex() |
int |
hashCode() |
String |
toString() |
asLatencyMarker, asRecord, asStreamStatus, asWatermark, isLatencyMarker, isRecord, isStreamStatus, isWatermarkpublic LatencyMarker(long markedTime,
org.apache.flink.runtime.jobgraph.OperatorID operatorId,
int subtaskIndex)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.