Class MetricValues
java.lang.Object
io.github.flink.gcp.connector.base.metrics.MetricValues
Shared boundary handling for connector metric values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic longelapsedMillis(long now, long earlier) Returns elapsed milliseconds, clamped for future values and saturated on overflow.
-
Method Details
-
elapsedMillis
public static long elapsedMillis(long now, long earlier) Returns elapsed milliseconds, clamped for future values and saturated on overflow.
-