org.globus.exec.monitoring
Class SchedulerEvent.Comparator
java.lang.Object
org.globus.exec.monitoring.SchedulerEvent.Comparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- SchedulerEvent
- private static class SchedulerEvent.Comparator
- extends Object
- implements Comparator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerEvent.Comparator
private SchedulerEvent.Comparator()
compare
public int compare(Object o1,
Object o2)
throws ClassCastException
- Compare two SchedulerEvents.
An event e1 is less than another e2 if (in order of importance)
it
- occurs before the other
- has a lower-value local id
- has a lower-value state
- Specified by:
compare in interface Comparator
- Throws:
ClassCastException