Uses of Class
ml.karmaconfigs.api.common.timer.scheduler.SimpleScheduler
Packages that use SimpleScheduler
Package
Description
-
Uses of SimpleScheduler in ml.karmaconfigs.api.common.timer
Subclasses of SimpleScheduler in ml.karmaconfigs.api.common.timerModifier and TypeClassDescriptionclassKarma seconds schedulerclassKarma simple schedulerMethods in ml.karmaconfigs.api.common.timer that return SimpleSchedulerModifier and TypeMethodDescriptionSourceSecondsTimer.cancelAction(Consumer<Long> action)Set the action to perform when the timer is cancelledSourceSimpleTimer.cancelAction(Consumer<Long> action)Set the action to perform when the timer is cancelledSourceSecondsTimer.cancelUnloaded(boolean status)Notice when the timer has been stopped because its source has been also unloadedSourceSimpleTimer.cancelUnloaded(boolean status)Notice when the timer has been stopped because its source has been also unloadedSourceSecondsTimer.conditionalAction(TimeCondition condition, int condition_value, Consumer<Integer> action)Add a conditional actionSourceSimpleTimer.conditionalAction(TimeCondition condition, int condition_value, Consumer<Integer> action)Add a conditional actionSourceSecondsTimer.conditionalPeriodAction(TimeCondition condition, long condition_value, Consumer<Long> action)Add a conditional actionSourceSimpleTimer.conditionalPeriodAction(TimeCondition condition, long condition_value, Consumer<Long> action)Add a conditional actionSet the action to perform when the timer is completely endedSet the action to perform when the timer is completely endedSourceSecondsTimer.exactPeriodAction(long time, Runnable task)Add an action to perform when the timer reaches the specified millisecondSourceSimpleTimer.exactPeriodAction(long time, Runnable task)Add an action to perform when the timer reaches the specified millisecondSourceSecondsTimer.exactSecondPeriodAction(int time, Runnable task)Add an action to perform when the timer reaches the specified secondSourceSimpleTimer.exactSecondPeriodAction(int time, Runnable task)Add an action to perform when the timer reaches the specified secondSourceSecondsTimer.multiThreading(boolean status)Set if the timer runs on another threadSourceSimpleTimer.multiThreading(boolean status)Set if the timer runs on another threadSourceSecondsTimer.pauseAction(Consumer<Long> action)Set the action to perform when the timer is pausedSourceSimpleTimer.pauseAction(Consumer<Long> action)Set the action to perform when the timer is pausedSourceSecondsTimer.periodChangeAction(Consumer<Long> action)Add an action when the timer passes a millisecondSourceSimpleTimer.periodChangeAction(Consumer<Long> action)Add an action when the timer passes a millisecondSourceSecondsTimer.restartAction(Runnable task)Set the action to perform when the timer is restartedSourceSimpleTimer.restartAction(Runnable task)Set the action to perform when the timer is restartedSourceSecondsTimer.secondChangeAction(Consumer<Integer> action)Add an action when the timer passes a secondSourceSimpleTimer.secondChangeAction(Consumer<Integer> action)Add an action when the timer passes a secondSourceSecondsTimer.startAction(Runnable task)Set the action to perform when the timer is startedSourceSimpleTimer.startAction(Runnable task)Set the action to perform when the timer is startedSourceSecondsTimer.updateAutoRestart(boolean status)Set if the timer should auto restart when it endsSourceSimpleTimer.updateAutoRestart(boolean status)Set if the timer should auto restart when it endsSourceSecondsTimer.withPeriod(Number time)Set the timer update periodSourceSimpleTimer.withPeriod(Number time)Set the timer update period -
Uses of SimpleScheduler in ml.karmaconfigs.api.common.timer.scheduler
Methods in ml.karmaconfigs.api.common.timer.scheduler that return SimpleSchedulerModifier and TypeMethodDescriptionabstract SimpleSchedulerSimpleScheduler.cancelAction(Consumer<Long> paramConsumer)Set the action to perform when the timer is cancelledabstract SimpleSchedulerSimpleScheduler.conditionalAction(TimeCondition paramTimeCondition, int paramInt, Consumer<Integer> paramConsumer)Add a conditional actionabstract SimpleSchedulerSimpleScheduler.conditionalPeriodAction(TimeCondition paramTimeCondition, long paramLong, Consumer<Long> paramConsumer)Add a conditional actionabstract SimpleSchedulerSet the action to perform when the timer is completely endedabstract SimpleSchedulerSimpleScheduler.exactPeriodAction(long paramLong, Runnable paramRunnable)Add an action to perform when the timer reaches the specified millisecondabstract SimpleSchedulerSimpleScheduler.exactSecondPeriodAction(int paramInt, Runnable paramRunnable)Add an action to perform when the timer reaches the specified secondabstract SimpleSchedulerSimpleScheduler.multiThreading(boolean paramBoolean)Set if the timer runs on another threadabstract SimpleSchedulerSimpleScheduler.pauseAction(Consumer<Long> paramConsumer)Set the action to perform when the timer is pausedabstract SimpleSchedulerSimpleScheduler.periodChangeAction(Consumer<Long> paramConsumer)Add an action when the timer passes a millisecondabstract SimpleSchedulerSimpleScheduler.restartAction(Runnable paramRunnable)Set the action to perform when the timer is restartedabstract SimpleSchedulerSimpleScheduler.secondChangeAction(Consumer<Integer> paramConsumer)Add an action when the timer passes a secondabstract SimpleSchedulerSimpleScheduler.startAction(Runnable paramRunnable)Set the action to perform when the timer is startedabstract SimpleSchedulerSimpleScheduler.updateAutoRestart(boolean paramBoolean)Set if the timer should auto restart when it endsabstract SimpleSchedulerSimpleScheduler.withPeriod(Number paramNumber)Set the timer update period -
Uses of SimpleScheduler in ml.karmaconfigs.api.common.timer.scheduler.errors
Methods in ml.karmaconfigs.api.common.timer.scheduler.errors that return SimpleSchedulerModifier and TypeMethodDescriptionTimerAlreadyStarted.getScheduler()Get the scheduler that has been tried to be startedConstructors in ml.karmaconfigs.api.common.timer.scheduler.errors with parameters of type SimpleSchedulerModifierConstructorDescriptionIllegalTimerAccess(KarmaSource issuer, SimpleScheduler scheduler)Initialize the exceptionTimerAlreadyStarted(SimpleScheduler source)Initialize the exception