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 Task
    Modifier and Type
    Class
    Description
    class 
    A 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 Task
    Modifier and Type
    Method
    Description
    void
    AtomicScheduler.register(Task task)
    Registers a task to this scheduler, instructing it to start executing it as soon as possible.
    void
    Scheduler.register(Task task)
    Registers a task to this scheduler, instructing it to start executing it as soon as possible.
    void
    SchedulerThread.register(Task task)
    Registers a task to this scheduler, instructing it to start executing it as soon as possible.
    void
    AtomicScheduler.unregister(Task task)
    Unregisters a task from this scheduler, instructing it to stop executing it.
    void
    Scheduler.unregister(Task task)
    Unregisters a task from this scheduler, instructing it to stop executing it.
    void
    SchedulerThread.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 Task
    Modifier and Type
    Method
    Description
    void
    AtomicScheduler.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.
    void
    Scheduler.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.
    void
    SchedulerThread.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.
    void
    AtomicScheduler.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.
    void
    Scheduler.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.
    void
    SchedulerThread.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.
    void
    AtomicScheduler.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.
    void
    Scheduler.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.
    void
    SchedulerThread.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 Task
    Modifier
    Constructor
    Description
    protected
    SchedulerThread(String name, List<Task> tasks, Map<Task,Long> executionTimes, PrintStream printStream)
    Creates a new scheduler thread.
    protected
    SchedulerThread(String name, List<Task> tasks, Map<Task,Long> executionTimes, PrintStream printStream)
    Creates a new scheduler thread.