Interface ProcessingTimeService

    • Method Detail

      • getCurrentProcessingTime

        long getCurrentProcessingTime()
        Returns the current processing time.
      • registerTimer

        ScheduledFuture<?> registerTimer​(long timestamp,
                                         ProcessingTimeService.ProcessingTimeCallback target)
        Registers a task to be executed when (processing) time is timestamp.
        Parameters:
        timestamp - Time when the task is to be executed (in processing time)
        target - The task to be executed
        Returns:
        The future that represents the scheduled task. This always returns some future, even if the timer was shut down