public class SchedulingRuleFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchedulingRuleFactory.Sequence
All jobs that are configured with the same instance of this rule will run sequentially.
|
| Modifier and Type | Field and Description |
|---|---|
static SchedulingRuleFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.jobs.ISchedulingRule |
newSequence()
Returns a scheduling rule that allows all jobs with an instance of the rule to run one at a time.
|
org.eclipse.core.runtime.jobs.ISchedulingRule |
newSerialPerObjectRule(Object lock)
Returns a scheduling rule that allows all jobs with an instance of the rule on the same object to run one at a
time.
|
public static SchedulingRuleFactory INSTANCE
public org.eclipse.core.runtime.jobs.ISchedulingRule newSequence()
public org.eclipse.core.runtime.jobs.ISchedulingRule newSerialPerObjectRule(Object lock)
lock - object to serialize oneCopyright © 2016. All Rights Reserved.