public class JobsExecutor
extends org.eclipse.equinox.concurrent.future.AbstractExecutor
Modifier and Type | Field and Description |
---|---|
protected long |
delay |
protected String |
fExecutorName |
protected int |
fJobCounter |
protected org.eclipse.core.runtime.jobs.ISchedulingRule |
fSchedulingRule |
protected boolean |
fSystem |
Constructor and Description |
---|
JobsExecutor(String executorName) |
JobsExecutor(String executorName,
boolean system) |
JobsExecutor(String executorName,
boolean system,
org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule) |
JobsExecutor(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 String |
createJobName(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 String fExecutorName
protected boolean fSystem
protected org.eclipse.core.runtime.jobs.ISchedulingRule fSchedulingRule
protected long delay
public JobsExecutor(String executorName)
public JobsExecutor(String executorName, boolean system)
public JobsExecutor(String executorName, boolean system, org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule)
public JobsExecutor(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 String createJobName(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)
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.