public final class SerialPerObjectRule
extends java.lang.Object
implements org.eclipse.core.runtime.jobs.ISchedulingRule
SerialPerObjectRule
pertaining to the same (i.e.,
equal) lock object.Constructor and Description |
---|
SerialPerObjectRule(java.lang.Object lock)
Creates a new
SerialPerObjectRule for the given lock object. |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule) |
boolean |
isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule) |
public SerialPerObjectRule(java.lang.Object lock)
SerialPerObjectRule
for the given lock object.lock
- a lock object (not null
)public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
contains
in interface org.eclipse.core.runtime.jobs.ISchedulingRule
public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
isConflicting
in interface org.eclipse.core.runtime.jobs.ISchedulingRule
Copyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0