org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Class FifoAppComparator
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FifoAppComparator
- All Implemented Interfaces:
- Serializable, Comparator<AppSchedulable>
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class FifoAppComparator
- extends Object
- implements Comparator<AppSchedulable>, Serializable
Order AppSchedulable
objects by priority and then by submit time, as
in the default scheduler in Hadoop.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FifoAppComparator
public FifoAppComparator()
compare
public int compare(AppSchedulable a1,
AppSchedulable a2)
- Specified by:
compare
in interface Comparator<AppSchedulable>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.