|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.server.protocol.hadoop.RestHadoopFetcher.IndexFileLastComparator
public static class RestHadoopFetcher.IndexFileLastComparator
A comparator that sorts index files last. This is a heuristic for retaining the index file in page cache until the swap occurs
Constructor Summary | |
---|---|
RestHadoopFetcher.IndexFileLastComparator()
|
Method Summary | |
---|---|
int |
compare(com.linkedin.tusk.RestFileStatus fs1,
com.linkedin.tusk.RestFileStatus fs2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public RestHadoopFetcher.IndexFileLastComparator()
Method Detail |
---|
public int compare(com.linkedin.tusk.RestFileStatus fs1, com.linkedin.tusk.RestFileStatus fs2)
compare
in interface java.util.Comparator<com.linkedin.tusk.RestFileStatus>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |