public class RepositoryRegistryUpdateJob extends org.eclipse.core.runtime.jobs.Job implements IBackgroundProcessingQueue
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<java.lang.Object> |
queue |
private RepositoryRegistry |
registry |
Constructor and Description |
---|
RepositoryRegistryUpdateJob(RepositoryRegistry registry) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
updateRegistry() |
addJobChangeListener, belongsTo, cancel, canceling, create, create, createSystem, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cancel, join
private final RepositoryRegistry registry
private final java.util.ArrayList<java.lang.Object> queue
public RepositoryRegistryUpdateJob(RepositoryRegistry registry)
public org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
run
in interface IBackgroundProcessingQueue
run
in class org.eclipse.core.runtime.jobs.Job
public boolean isEmpty()
isEmpty
in interface IBackgroundProcessingQueue
public void updateRegistry()