Interface Sink.ProcessingTimeService
-
- Enclosing interface:
- Sink<InputT,CommT,WriterStateT,GlobalCommT>
@Deprecated @PublicEvolving public static interface Sink.ProcessingTimeService
Deprecated.Please migrate toSinkand useProcessingTimeService.A service that allows to get the current processing time and register timers that will execute the givenSink.ProcessingTimeService.ProcessingTimeCallbackwhen firing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSink.ProcessingTimeService.ProcessingTimeCallbackDeprecated.Please migrate toSinkand useProcessingTimeService.ProcessingTimeCallback.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetCurrentProcessingTime()Deprecated.Returns the current processing time.voidregisterProcessingTimer(long time, Sink.ProcessingTimeService.ProcessingTimeCallback processingTimerCallback)Deprecated.Invokes the given callback at the given timestamp.
-
-
-
Method Detail
-
getCurrentProcessingTime
long getCurrentProcessingTime()
Deprecated.Returns the current processing time.
-
registerProcessingTimer
void registerProcessingTimer(long time, Sink.ProcessingTimeService.ProcessingTimeCallback processingTimerCallback)Deprecated.Invokes the given callback at the given timestamp.- Parameters:
time- Time when the callback is invoked atprocessingTimerCallback- The callback to be invoked.
-
-