@InterfaceAudience.Private public class PayloadCarryingRpcController extends TimeLimitedRpcController implements CellScannable
callTimeout, cancellationCb, cancelled, failureCb
Constructor and Description |
---|
PayloadCarryingRpcController() |
PayloadCarryingRpcController(CellScanner cellScanner) |
PayloadCarryingRpcController(List<CellScannable> cellIterables) |
Modifier and Type | Method and Description |
---|---|
CellScanner |
cellScanner() |
int |
getPriority() |
void |
reset() |
void |
setCellScanner(CellScanner cellScanner) |
void |
setPriority(int priority) |
void |
setPriority(TableName tn) |
errorText, failed, getCallTimeout, hasCallTimeout, isCanceled, notifyOnCancel, notifyOnFail, setCallTimeout, setFailed, setFailed, startCancel
public PayloadCarryingRpcController()
public PayloadCarryingRpcController(CellScanner cellScanner)
public PayloadCarryingRpcController(List<CellScannable> cellIterables)
public CellScanner cellScanner()
cellScanner
in interface CellScannable
public void setCellScanner(CellScanner cellScanner)
public void setPriority(int priority)
priority
- Priority for this request; should fall roughly in the range
HConstants.NORMAL_QOS
to HConstants.HIGH_QOS
public void setPriority(TableName tn)
tn
- Set priority based off the table we are going against.public int getPriority()
public void reset()
reset
in class TimeLimitedRpcController