Interface Evictor.EvictorContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCurrentProcessingTime()Returns the current processing time.longgetCurrentWatermark()Returns the current watermark time.org.apache.flink.metrics.MetricGroupgetMetricGroup()Returns the metric group for thisEvictor.
-
-
-
Method Detail
-
getCurrentProcessingTime
long getCurrentProcessingTime()
Returns the current processing time.
-
getMetricGroup
org.apache.flink.metrics.MetricGroup getMetricGroup()
Returns the metric group for thisEvictor. This is the same metric group that would be returned fromRuntimeContext.getMetricGroup()in a user function.You must not call methods that create metric objects (such as
MetricGroup.counter(int)multiple times but instead call once and store the metric object in a field.
-
getCurrentWatermark
long getCurrentWatermark()
Returns the current watermark time.
-
-