@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,
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.
|
OperatorID |
getOperatorId() |
int |
getSubtaskIndex() |
int |
hashCode() |
String |
toString() |
asLatencyMarker, asRecord, asRecordAttributes, asWatermark, asWatermarkStatus, isLatencyMarker, isRecord, isRecordAttributes, isWatermark, isWatermarkStatus
public LatencyMarker(long markedTime, OperatorID operatorId, int subtaskIndex)
public long getMarkedTime()
public OperatorID getOperatorId()
public int getSubtaskIndex()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.