org.apache.hadoop.hbase
Class HServerInfo.LoadComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.HServerInfo.LoadComparator
All Implemented Interfaces:
Comparator<HServerInfo>
Enclosing class:
HServerInfo

public static class HServerInfo.LoadComparator
extends Object
implements Comparator<HServerInfo>

Orders HServerInfos by load then name. Natural/ascending order.


Constructor Summary
HServerInfo.LoadComparator()
           
 
Method Summary
 int compare(HServerInfo left, HServerInfo right)
           
 
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

HServerInfo.LoadComparator

public HServerInfo.LoadComparator()
Method Detail

compare

public int compare(HServerInfo left,
                   HServerInfo right)
Specified by:
compare in interface Comparator<HServerInfo>


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.