Constructor. @param hbase_client The HBase client this instance belongs to.
(final HBaseClient hbase_client)
| 267 | * @param hbase_client The HBase client this instance belongs to. |
| 268 | */ |
| 269 | public RegionClient(final HBaseClient hbase_client) { |
| 270 | this.hbase_client = hbase_client; |
| 271 | check_write_status = hbase_client.getConfig().getBoolean( |
| 272 | "hbase.region_client.check_channel_write_status"); |
| 273 | inflight_limit = hbase_client.getConfig().getInt( |
| 274 | "hbase.region_client.inflight_limit"); |
| 275 | pending_limit = hbase_client.getConfig().getInt( |
| 276 | "hbase.region_client.pending_limit"); |
| 277 | batch_size = hbase_client.getConfig().getInt("hbase.rpcs.batch.size"); |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * Tells whether or not this handler should be used. |
nothing calls this directly
no test coverage detected