static interface SimpleRequestController.RowChecker
Modifier and Type | Method and Description |
---|---|
RequestController.ReturnCode |
canTakeOperation(HRegionLocation loc,
long heapSizeOfRow) |
void |
notifyFinal(RequestController.ReturnCode code,
HRegionLocation loc,
long heapSizeOfRow)
Add the final ReturnCode to the checker.
|
void |
reset()
Reset the inner state.
|
RequestController.ReturnCode canTakeOperation(HRegionLocation loc, long heapSizeOfRow)
void notifyFinal(RequestController.ReturnCode code, HRegionLocation loc, long heapSizeOfRow)
code
- The final decisionloc
- the destination of dataheapSizeOfRow
- the data sizevoid reset() throws InterruptedIOException
InterruptedIOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.