Package io.datarouter.client.hbase.pool
Class HBaseTablePool
java.lang.Object
io.datarouter.client.hbase.pool.HBaseTablePool
public class HBaseTablePool extends Object
-
Constructor Summary
Constructors Constructor Description 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 Summary
Modifier and Type Method Description voidcheckIn(org.apache.hadoop.hbase.client.Table htable, boolean possiblyTarnished)org.apache.hadoop.hbase.client.TablecheckOut(String tableName, io.datarouter.util.mutable.MutableString progress)voidforceLogIfInconsistentCounts(boolean checkOut, String tableName)IntegergetTotalPoolSize()voidshutdown()
-
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
-
shutdown
public void shutdown() -
forceLogIfInconsistentCounts
-