Class HBaseTablePool

java.lang.Object
io.datarouter.client.hbase.pool.HBaseTablePool

public class HBaseTablePool
extends Object
  • Constructor Details

    • HBaseTablePool

      public HBaseTablePool​(HBaseOptions hbaseOptions, DatarouterHBaseSettingRoot datarouterHBaseSettingRoot, org.apache.hadoop.hbase.client.Connection connection, io.datarouter.storage.client.ClientId clientId, io.datarouter.storage.client.ClientType<?,​?> clientType)
  • Method Details

    • checkOut

      public org.apache.hadoop.hbase.client.Table checkOut​(String tableName, io.datarouter.util.mutable.MutableString progress)
    • checkIn

      public void checkIn​(org.apache.hadoop.hbase.client.Table htable, boolean possiblyTarnished)
    • getTotalPoolSize

      public Integer getTotalPoolSize()
    • shutdown

      public void shutdown()
    • forceLogIfInconsistentCounts

      public void forceLogIfInconsistentCounts​(boolean checkOut, String tableName)