Package org.opends.server.backends.task
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks. A
task is a set of user-defined code that may be executed either immediately or at a given time in the future by adding
an entry within the "cn=tasks" branch. The attributes of that entry may serve as arguments that can customize the
operation of that task.
Recurring tasks may be used to perform an operation at regular intervals. Task groups may define a set of tasks that should be executed in sequential order, and may be executed as a recurring task. The order of individual scheduled tasks may be controlled by defining dependencies between those tasks, but a task group must be used to achieve the same result for recurring tasks.
Recurring tasks may be used to perform an operation at regular intervals. Task groups may define a set of tasks that should be executed in sequential order, and may be executed as a recurring task. The order of individual scheduled tasks may be controlled by defining dependencies between those tasks, but a task group must be used to achieve the same result for recurring tasks.
-
Class Summary Class Description RecurringTask This class defines a information about a recurring task, which will be used to repeatedly schedule tasks for processing.Task This class defines a task that may be executed by the task backend within the Directory Server.Task.WorkCounters Data holder for work counters.TaskBackend This class provides an implementation of a Directory Server backend that may be used to execute various kinds of administrative tasks on a one-time or recurring basis.TaskScheduler This class defines a task scheduler for the Directory Server that will control the execution of scheduled tasks and other administrative functions that need to occur on a regular basis. -
Enum Summary Enum Description FailedDependencyAction This enumeration defines the various ways that a task can behave if it is dependent upon another task and that earlier task is done running but did not complete successfully.TaskState This enumeration defines the various states that a task can have during its lifetime.