Uses of Interface
civitas.celestis.task.Task
Packages that use Task
-
Uses of Task in civitas.celestis.task
Classes in civitas.celestis.task that implement TaskModifier and TypeClassDescriptionclassA delayed task which is only meant to be executed once. -
Uses of Task in civitas.celestis.task.lifecycle
Methods in civitas.celestis.task.lifecycle with parameters of type TaskModifier and TypeMethodDescriptionvoidRegisters a task to this scheduler, instructing it to start executing it as soon as possible.voidRegisters a task to this scheduler, instructing it to start executing it as soon as possible.voidRegisters a task to this scheduler, instructing it to start executing it as soon as possible.voidAtomicScheduler.unregister(Task task) Unregisters a task from this scheduler, instructing it to stop executing it.voidScheduler.unregister(Task task) Unregisters a task from this scheduler, instructing it to stop executing it.voidSchedulerThread.unregister(Task task) Unregisters a task from this scheduler, instructing it to stop executing it.Method parameters in civitas.celestis.task.lifecycle with type arguments of type TaskModifier and TypeMethodDescriptionvoidAtomicScheduler.registerAsync(Iterable<? extends Task> tasks) Registers multiple tasks asynchronously to this scheduler, instructing it to distribute the tasks across multiple threads however it sees fit.voidScheduler.registerAsync(Iterable<? extends Task> tasks) Registers multiple tasks asynchronously to this scheduler, instructing it to distribute the tasks across multiple threads however it sees fit.voidSchedulerThread.registerAsync(Iterable<? extends Task> tasks) Registers multiple tasks asynchronously to this scheduler, instructing it to distribute the tasks across multiple threads however it sees fit.voidAtomicScheduler.registerSync(Iterable<? extends Task> tasks) Registers multiple tasks synchronously to this scheduler, instructing it to put every provided task into a single thread to ensure sequential execution.voidScheduler.registerSync(Iterable<? extends Task> tasks) Registers multiple tasks synchronously to this scheduler, instructing it to put every provided task into a single thread to ensure sequential execution.voidSchedulerThread.registerSync(Iterable<? extends Task> tasks) Registers multiple tasks synchronously to this scheduler, instructing it to put every provided task into a single thread to ensure sequential execution.voidAtomicScheduler.unregister(Iterable<? extends Task> tasks) Unregisters multiple tasks from this scheduler, instructing it to stop executing every task within the provided iterable object of tasks.voidScheduler.unregister(Iterable<? extends Task> tasks) Unregisters multiple tasks from this scheduler, instructing it to stop executing every task within the provided iterable object of tasks.voidSchedulerThread.unregister(Iterable<? extends Task> tasks) Unregisters multiple tasks from this scheduler, instructing it to stop executing every task within the provided iterable object of tasks.Constructor parameters in civitas.celestis.task.lifecycle with type arguments of type TaskModifierConstructorDescriptionprotectedSchedulerThread(String name, List<Task> tasks, Map<Task, Long> executionTimes, PrintStream printStream) Creates a new scheduler thread.protectedSchedulerThread(String name, List<Task> tasks, Map<Task, Long> executionTimes, PrintStream printStream) Creates a new scheduler thread.