Class SchedulerPoll
java.lang.Object
dev.rollczi.litecommands.scheduler.SchedulerPoll
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchedulerPollThe async thread - used for async tasks If not specified, the main thread will be usedstatic final SchedulerPollThe completable future thread - used for completable future tasks If not specified, the async thread will be usedstatic final SchedulerPollThe executor thread - used for executor tasks If not specified, the main thread will be usedstatic final SchedulerPollThe main thread - used as defaultstatic final SchedulerPollThe suggester thread - used for generating suggestions If not specified, the async thread will be used -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanlogging()resolve(SchedulerPoll... available) resolve(Collection<SchedulerPoll> available) toString()
-
Field Details
-
MAIN
The main thread - used as default -
ASYNCHRONOUS
The async thread - used for async tasks If not specified, the main thread will be used -
COMPLETABLE_FUTURE
The completable future thread - used for completable future tasks If not specified, the async thread will be used -
EXECUTOR
The executor thread - used for executor tasks If not specified, the main thread will be used -
SUGGESTER
The suggester thread - used for generating suggestions If not specified, the async thread will be used
-
-
Method Details