Class Worker

java.lang.Object
org.eclipse.compare.internal.Worker
All Implemented Interfaces:
IRunnableWithProgress

public class Worker extends Object implements IRunnableWithProgress
A worker performs a set of tasks in order and accumulates any errors that may have occurred. If the same task is queued multiple times, the last occurrence will be run. If a task is queued while it is running, the running task will be canceled and the task added to the end of the work queue.