Package io.datarouter.client.hbase.pool
Class HBaseTablePool
java.lang.Object
io.datarouter.client.hbase.pool.HBaseTablePool
-
Constructor Summary
ConstructorsConstructorDescriptionHBaseTablePool(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 TypeMethodDescriptionvoidcheckIn(org.apache.hadoop.hbase.client.Table htable, boolean possiblyTarnished) org.apache.hadoop.hbase.client.TablevoidforceLogIfInconsistentCounts(boolean checkOut, String tableName) 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
-