Class FixedDelay
java.lang.Object
com.github.kagkarlsson.scheduler.task.schedule.FixedDelay
- All Implemented Interfaces:
Schedule,Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal booleanUsed to get the first execution-time for a schedule.getNextExecutionTime(ExecutionComplete executionComplete) final inthashCode()booleanstatic FixedDelaystatic FixedDelayofHours(int hours) static FixedDelayofMillis(long millis) static FixedDelayofMinutes(int minutes) static FixedDelayofSeconds(int seconds) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.kagkarlsson.scheduler.task.schedule.Schedule
isDisabled
-
Method Details
-
of
-
ofMillis
-
ofSeconds
-
ofMinutes
-
ofHours
-
getNextExecutionTime
- Specified by:
getNextExecutionTimein interfaceSchedule
-
getInitialExecutionTime
Description copied from interface:ScheduleUsed to get the first execution-time for a schedule. Simulates an ExecutionComplete event.- Specified by:
getInitialExecutionTimein interfaceSchedule
-
isDeterministic
public boolean isDeterministic()- Specified by:
isDeterministicin interfaceSchedule
-
equals
-
hashCode
public final int hashCode() -
toString
-