@Internal @FunctionalInterface public interface ProcessingTimeCallback
ProcessingTimeService.| Modifier and Type | Method and Description |
|---|---|
void |
onProcessingTime(long timestamp)
This method is invoked with the timestamp for which the trigger was scheduled.
|
void onProcessingTime(long timestamp)
throws Exception
If the triggering is delayed for whatever reason (trigger timer was blocked, JVM stalled due to a garbage collection), the timestamp supplied to this function will still be the original timestamp for which the trigger was scheduled.
timestamp - The timestamp for which the trigger event was scheduled.ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.