@InterfaceAudience.Private @InterfaceStability.Unstable public class FifoAppComparator extends Object implements Comparator<FSAppAttempt>, Serializable
FSAppAttempt
objects by priority and then by submit time, as
in the default scheduler in Hadoop.Constructor and Description |
---|
FifoAppComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(FSAppAttempt a1,
FSAppAttempt a2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(FSAppAttempt a1, FSAppAttempt a2)
compare
in interface Comparator<FSAppAttempt>
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.