public class JobsExecutor
extends org.eclipse.equinox.concurrent.future.AbstractExecutor
Modifier and Type | Field and Description |
---|---|
protected long |
delay |
protected java.lang.String |
fExecutorName |
protected int |
fJobCounter |
protected org.eclipse.core.runtime.jobs.ISchedulingRule |
fSchedulingRule |
protected boolean |
fSystem |
Constructor and Description |
---|
JobsExecutor(java.lang.String executorName) |
JobsExecutor(java.lang.String executorName,
boolean system) |
JobsExecutor(java.lang.String executorName,
boolean system,
org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule) |
JobsExecutor(java.lang.String executorName,
boolean system,
org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule,
long delay) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureJobForExecution(org.eclipse.core.runtime.jobs.Job job) |
protected org.eclipse.equinox.concurrent.future.AbstractFuture |
createFuture(org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
protected java.lang.String |
createJobName(java.lang.String executorName,
int jobCounter,
org.eclipse.equinox.concurrent.future.IProgressRunnable runnable) |
org.eclipse.equinox.concurrent.future.IFuture |
execute(org.eclipse.equinox.concurrent.future.IProgressRunnable runnable,
org.eclipse.core.runtime.IProgressMonitor clientProgressMonitor) |
protected void |
safeRun(org.eclipse.equinox.concurrent.future.ISafeProgressRunner runner,
org.eclipse.equinox.concurrent.future.IProgressRunnable progressRunnable) |
protected void |
setChildProgressMonitor(org.eclipse.core.runtime.IProgressMonitor parent,
org.eclipse.core.runtime.IProgressMonitor child) |
protected int fJobCounter
protected java.lang.String fExecutorName
protected boolean fSystem
protected org.eclipse.core.runtime.jobs.ISchedulingRule fSchedulingRule
protected long delay
public JobsExecutor(java.lang.String executorName)
public JobsExecutor(java.lang.String executorName, boolean system)
public JobsExecutor(java.lang.String executorName, boolean system, org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule)
public JobsExecutor(java.lang.String executorName, boolean system, org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule, long delay)
protected void setChildProgressMonitor(org.eclipse.core.runtime.IProgressMonitor parent, org.eclipse.core.runtime.IProgressMonitor child)
protected void safeRun(org.eclipse.equinox.concurrent.future.ISafeProgressRunner runner, org.eclipse.equinox.concurrent.future.IProgressRunnable progressRunnable)
protected java.lang.String createJobName(java.lang.String executorName, int jobCounter, org.eclipse.equinox.concurrent.future.IProgressRunnable runnable)
protected org.eclipse.equinox.concurrent.future.AbstractFuture createFuture(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
createFuture
in class org.eclipse.equinox.concurrent.future.AbstractExecutor
public org.eclipse.equinox.concurrent.future.IFuture execute(org.eclipse.equinox.concurrent.future.IProgressRunnable runnable, org.eclipse.core.runtime.IProgressMonitor clientProgressMonitor)
execute
in interface org.eclipse.equinox.concurrent.future.IExecutor
execute
in class org.eclipse.equinox.concurrent.future.AbstractExecutor
protected void configureJobForExecution(org.eclipse.core.runtime.jobs.Job job)