class IndexUpdaterJob extends org.eclipse.core.runtime.jobs.Job implements IBackgroundProcessingQueue
Modifier and Type | Class and Description |
---|---|
static interface |
IndexUpdaterJob.IndexCommand |
static class |
IndexUpdaterJob.IndexUpdaterRule |
Modifier and Type | Field and Description |
---|---|
private java.util.Stack<IndexUpdaterJob.IndexCommand> |
updateQueue |
Constructor and Description |
---|
IndexUpdaterJob(NexusIndexManager indexManager) |
Modifier and Type | Method and Description |
---|---|
void |
addCommand(IndexUpdaterJob.IndexCommand indexCommand) |
boolean |
isEmpty() |
org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
addJobChangeListener, belongsTo, cancel, canceling, create, create, 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 java.util.Stack<IndexUpdaterJob.IndexCommand> updateQueue
public IndexUpdaterJob(NexusIndexManager indexManager)
public void addCommand(IndexUpdaterJob.IndexCommand indexCommand)
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