public class SchedulingRuleFactory
extends java.lang.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(java.lang.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(java.lang.Object lock)
lock
- object to serialize one