Uses of Class
me.hsgamer.hscore.task.element.TaskPool
Package
Description
Contains the classes to work with tasks and threads
Contains the elements to work with tasks
-
Uses of TaskPool in me.hsgamer.hscore.task
Modifier and TypeMethodDescriptionvoid
BatchRunnable.addTaskPool
(int stage, Consumer<TaskPool> taskPoolConsumer) Execute the consumer for the task pool -
Uses of TaskPool in me.hsgamer.hscore.task.element
Modifier and TypeMethodDescriptionAdd the task to the head of the task poolTaskPool.addFirst
(Consumer<TaskProcess> task) Add the task to the head of the task poolAdd the task to the tail of the task poolTaskPool.addLast
(Consumer<TaskProcess> task) Add the task to the tail of the task poolTaskProcess.getCurrentTaskPool()
Get the current task poolTaskProcess.getTaskPool
(int stage) Get the task poolModifier and TypeMethodDescriptiondefault void
TaskProcess.addCurrentTaskPool
(Consumer<TaskPool> taskPoolConsumer) Execute the consumer for the current task pooldefault void
TaskProcess.addTaskPool
(int stage, Consumer<TaskPool> taskPoolConsumer) Execute the consumer for the task pool