ScheduledFuture

A type alias: another name for the type it stands for.

Group
timer
Stands for
Delayed

Returned by

MethodReturnsDescription
ExecutorService.submitScheduledFutureRun task at the next invoke point; the future answers isDone() once it ran and cancel(...) before. After shutdown() it is `Rejected…
ScheduledExecutorService.scheduleScheduledFutureRun command once, delay (in unit) from now. A negative delay is none.
ScheduledExecutorService.scheduleAtFixedRateScheduledFutureRun command every period (in unit), first initialDelay from now; runs the game stalled through are made up back to back. A period m…
ScheduledExecutorService.scheduleWithFixedDelayScheduledFutureRun command again delay (in unit) after each run ends, first initialDelay from now. A delay must be positive; the task is not run a…
TimerService.afterScheduledFutureRun task once, delay milliseconds from now, on the client thread (at the first cycle at or after it is due).
TimerService.afterTicksScheduledFutureRun task once, ticks server ticks from now, right after that tick's GameTick.
TimerService.everyScheduledFutureRun task every period milliseconds, first after initialDelay (default one period), on the client thread. Runs missed while the game s…
TimerService.everyTicksScheduledFutureRun task every ticks server ticks, first ticks from now.