Package org.eclipse.core.runtime.jobs
Provides core support for scheduling and interacting with background activity.
Package Specification
This package specifies API for scheduling background tasks, or jobs. Jobs can be scheduled for immediate execution, or for execution after a specified delay. Once scheduled, jobs can be queried, canceled, or suspended. Rules can be attached to jobs to indicate when they can run, and whether they can run simultaneously with other jobs. This package also includes a generic locking facility that includes support for detecting and responding to deadlock.
- Since:
- 3.0
-
Interface Summary Interface Description IJobChangeEvent An event describing a change to the state of a job.IJobChangeListener Callback interface for clients interested in being notified when jobs change state.IJobFunction This is a functional interface representation ofJob
, suitable for use in lambda expressions.IJobManager The job manager provides facilities for scheduling, querying, and maintaining jobs and locks.IJobStatus Represents status relating to the execution of jobs.ILock A lock is used to control access to an exclusive resource.ISchedulableOperation An interface to mark an operation that needs anISchedulingRule
.ISchedulingRule Scheduling rules are used by jobs to indicate when they need exclusive access to a resource. -
Class Summary Class Description Job Jobs are units of runnable work that can be scheduled to be run with the job manager.JobChangeAdapter This adapter class provides default implementations for the methods described by theIJobChangeListener
interface.JobGroup JobGroups support throttling, join, cancel, combined progress and error reporting on a group of jobs.LockListener A lock listener is notified whenever a thread is about to wait on a lock, and when a thread is about to release a lock.MultiRule A MultiRule is a compound scheduling rule that represents a fixed group of child scheduling rules.ProgressProvider The progress provider supplies the job manager with progress monitors for running jobs.