Package org.apache.hadoop.hbase.client
Interface RequestController.Checker
- Enclosing interface:
- RequestController
Picks up the valid data.
-
Method Summary
Modifier and TypeMethodDescriptioncanTakeRow
(HRegionLocation loc, Row row) Checks the data whether it is valid to submit.void
reset()
Reset the state of the scheduler when completing the iteration of rows.
-
Method Details
-
canTakeRow
Checks the data whether it is valid to submit.- Parameters:
loc
- the destination of datarow
- the data to check- Returns:
- describe the decision for the row
-
reset
Reset the state of the scheduler when completing the iteration of rows.- Throws:
InterruptedIOException
- some controller may wait for some busy region or RS to complete the undealt request.
-