Package org.eclipse.ecf.core.jobs
Class JobsExecutor
java.lang.Object
org.eclipse.equinox.concurrent.future.AbstractExecutor
org.eclipse.ecf.core.jobs.JobsExecutor
- All Implemented Interfaces:
org.eclipse.equinox.concurrent.future.IExecutor
,org.eclipse.equinox.concurrent.future.IRunnableExecutor
public class JobsExecutor
extends org.eclipse.equinox.concurrent.future.AbstractExecutor
- Since:
- 3.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
protected String
protected int
protected org.eclipse.core.runtime.jobs.ISchedulingRule
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionJobsExecutor
(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Methods inherited from class org.eclipse.equinox.concurrent.future.AbstractExecutor
execute
-
Field Details
-
fJobCounter
protected int fJobCounter -
fExecutorName
-
fSystem
protected boolean fSystem -
fSchedulingRule
protected org.eclipse.core.runtime.jobs.ISchedulingRule fSchedulingRule -
delay
protected long delay
-
-
Constructor Details
-
JobsExecutor
-
JobsExecutor
-
JobsExecutor
public JobsExecutor(String executorName, boolean system, org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule) -
JobsExecutor
public JobsExecutor(String executorName, boolean system, org.eclipse.core.runtime.jobs.ISchedulingRule schedulingRule, long delay)
-
-
Method Details
-
setChildProgressMonitor
protected void setChildProgressMonitor(org.eclipse.core.runtime.IProgressMonitor parent, org.eclipse.core.runtime.IProgressMonitor child) -
safeRun
protected void safeRun(org.eclipse.equinox.concurrent.future.ISafeProgressRunner runner, org.eclipse.equinox.concurrent.future.IProgressRunnable progressRunnable) -
createJobName
-
createFuture
protected org.eclipse.equinox.concurrent.future.AbstractFuture createFuture(org.eclipse.core.runtime.IProgressMonitor progressMonitor) - Specified by:
createFuture
in classorg.eclipse.equinox.concurrent.future.AbstractExecutor
-
execute
public org.eclipse.equinox.concurrent.future.IFuture execute(org.eclipse.equinox.concurrent.future.IProgressRunnable runnable, org.eclipse.core.runtime.IProgressMonitor clientProgressMonitor) - Specified by:
execute
in interfaceorg.eclipse.equinox.concurrent.future.IExecutor
- Specified by:
execute
in classorg.eclipse.equinox.concurrent.future.AbstractExecutor
-
configureJobForExecution
protected void configureJobForExecution(org.eclipse.core.runtime.jobs.Job job)
-