Package 

Class FixedIntervalSchedule

    • Constructor Detail

      • FixedIntervalSchedule

        FixedIntervalSchedule(Duration interval)
    • Method Detail

      • nextExecutionTime

         Instant nextExecutionTime(Instant currentTime, Instant previousExecutionTime)

        Return the next execution time as an Instant.

        Parameters:
        currentTime - the current time
        previousExecutionTime - the previous execution time, if this value is null then the next execution will be the first