@InterfaceAudience.Public public static interface RequestController.Checker
Modifier and Type | Method and Description |
---|---|
RequestController.ReturnCode |
canTakeRow(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.
|
RequestController.ReturnCode canTakeRow(HRegionLocation loc, Row row)
loc
- the destination of datarow
- the data to checkvoid reset() throws InterruptedIOException
InterruptedIOException
- some controller may wait
for some busy region or RS to complete the undealt request.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.