Package org.apache.iceberg.flink.util
Class ElapsedTimeGauge
- java.lang.Object
 - 
- org.apache.iceberg.flink.util.ElapsedTimeGauge
 
 
- 
- All Implemented Interfaces:
 org.apache.flink.metrics.Gauge<java.lang.Long>,org.apache.flink.metrics.Metric
@Internal public class ElapsedTimeGauge extends java.lang.Object implements org.apache.flink.metrics.Gauge<java.lang.Long>This gauge measures the elapsed time between now and last recorded time set byrefreshLastRecordedTime(). 
- 
- 
Constructor Summary
Constructors Constructor Description ElapsedTimeGauge(java.util.concurrent.TimeUnit timeUnit) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetValue()voidrefreshLastRecordedTime() 
 -