Uses of Enum Class
dev.crafty.core.number.units.TimeUnit
Packages that use TimeUnit
Package
Description
-
Uses of TimeUnit in dev.crafty.core.number.units
Methods in dev.crafty.core.number.units that return TimeUnitModifier and TypeMethodDescriptionstatic TimeUnit
Returns the enum constant of this class with the specified name.static TimeUnit[]
TimeUnit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.crafty.core.number.units with parameters of type TimeUnit -
Uses of TimeUnit in dev.crafty.core.task.api
Method parameters in dev.crafty.core.task.api with type arguments of type TimeUnitModifier and TypeMethodDescriptionvoid
Task.schedule
(Runnable action, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay.<T> void
Task.schedule
(Callable<T> action, Consumer<T> onSuccess, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution.<T> void
Task.schedule
(Callable<T> action, Consumer<T> onSuccess, Runnable onFailure, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution. -
Uses of TimeUnit in dev.crafty.core.task.providers
Method parameters in dev.crafty.core.task.providers with type arguments of type TimeUnitModifier and TypeMethodDescriptionvoid
TaskProvider.schedule
(Runnable action, @NotNull UnitNumber<TimeUnit> delay, TargetThread targetThread) <T> void
TaskProvider.schedule
(Callable<T> action, Consumer<T> onSuccess, UnitNumber<TimeUnit> delay, TargetThread targetThread) <T> void
TaskProvider.schedule
(Callable<T> action, Consumer<T> onSuccess, Runnable onFailure, UnitNumber<TimeUnit> delay, TargetThread targetThread)