Package crackers.kobots.parts
Class ExecutionKt
-
- All Implemented Interfaces:
public final class ExecutionKt
-
-
Method Summary
Modifier and Type Method Description final static ScheduledFuture<?>scheduleAtFixedRate(ScheduledExecutorService $self, Duration intialDelay, Duration period, Function0<Unit> command)Run a thing at a fixed rate extension function for better readability. final static <Error class: unknown class>scheduleAtFixedRate(ScheduledExecutorService $self, Duration intialDelay, Duration period, Function0<Unit> command)Run a thing at a fixed rate extension function for better readability. final static ScheduledFuture<?>scheduleWithFixedDelay(ScheduledExecutorService $self, Duration intialDelay, Duration delay, Function0<Unit> command)Run a thing at a fixed delay extension function for better readability. final static <Error class: unknown class>scheduleWithFixedDelay(ScheduledExecutorService $self, Duration intialDelay, Duration delay, Function0<Unit> command)Run a thing at a fixed delay extension function for better readability. final static <Error class: unknown class>scheduleAtRate(ScheduledExecutorService $self, Duration rate, Function0<Unit> command)Rate and delay are the same. final static <Error class: unknown class>scheduleWithDelay(ScheduledExecutorService $self, Duration delay, Function0<Unit> command)Delay to start and delay between are the same. final static Unitsleep(Duration $self)Extension function to use a duration for sleeping. final static Unitsleep(Duration $self)Extension function to use a duration for sleeping. -
-
Method Detail
-
scheduleAtFixedRate
final static ScheduledFuture<?> scheduleAtFixedRate(ScheduledExecutorService $self, Duration intialDelay, Duration period, Function0<Unit> command)
Run a thing at a fixed rate extension function for better readability. Granularity is nanoseconds.
-
scheduleAtFixedRate
final static <Error class: unknown class> scheduleAtFixedRate(ScheduledExecutorService $self, Duration intialDelay, Duration period, Function0<Unit> command)
Run a thing at a fixed rate extension function for better readability. Granularity is nanoseconds.
-
scheduleWithFixedDelay
final static ScheduledFuture<?> scheduleWithFixedDelay(ScheduledExecutorService $self, Duration intialDelay, Duration delay, Function0<Unit> command)
Run a thing at a fixed delay extension function for better readability. Granularity is nanoseconds.
-
scheduleWithFixedDelay
final static <Error class: unknown class> scheduleWithFixedDelay(ScheduledExecutorService $self, Duration intialDelay, Duration delay, Function0<Unit> command)
Run a thing at a fixed delay extension function for better readability. Granularity is nanoseconds.
-
scheduleAtRate
final static <Error class: unknown class> scheduleAtRate(ScheduledExecutorService $self, Duration rate, Function0<Unit> command)
Rate and delay are the same.
-
scheduleWithDelay
final static <Error class: unknown class> scheduleWithDelay(ScheduledExecutorService $self, Duration delay, Function0<Unit> command)
Delay to start and delay between are the same.
-
-
-
-