Class HBaseBalanceLeveler<I>

java.lang.Object
io.datarouter.client.hbase.balancer.HBaseBalanceLeveler<I>

public class HBaseBalanceLeveler<I>
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  HBaseBalanceLeveler.TablePseudoRandomHostAndPortComparator  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static boolean PSEUDO_RANDOM_LEVELING  
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseBalanceLeveler​(java.util.Collection<org.apache.hadoop.hbase.ServerName> allDestinations, java.util.SortedMap<I,​org.apache.hadoop.hbase.ServerName> unleveledDestinationByItem, java.lang.String randomSeed)  
  • Method Summary

    Modifier and Type Method Description
    java.util.SortedMap<I,​org.apache.hadoop.hbase.ServerName> getBalancedDestinationByItem()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • HBaseBalanceLeveler

      public HBaseBalanceLeveler​(java.util.Collection<org.apache.hadoop.hbase.ServerName> allDestinations, java.util.SortedMap<I,​org.apache.hadoop.hbase.ServerName> unleveledDestinationByItem, java.lang.String randomSeed)
  • Method Details