public class ResourceAvailabilityRanker extends Object implements LoadRanker, Comparator<ResourceDescription>
| Constructor and Description |
|---|
ResourceAvailabilityRanker() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ResourceDescription rd1,
ResourceDescription rd2) |
long |
getRank(ResourceDescription resourceDescription) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic long getRank(ResourceDescription resourceDescription)
getRank in interface LoadRankerpublic int compare(ResourceDescription rd1, ResourceDescription rd2)
compare in interface Comparator<ResourceDescription>Copyright © 2017–2022 Apache Software Foundation. All rights reserved.