@InterfaceAudience.Private public class PayloadCarryingRpcController extends TimeLimitedRpcController implements CellScannable
Modifier and Type | Field and Description |
---|---|
private CellScanner |
cellScanner
They are optionally set on construction, cleared after we make the call, and then optionally
set on response with the result.
|
private int |
priority
Priority to set on this request.
|
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
private int priority
private CellScanner cellScanner
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 interface com.google.protobuf.RpcController
reset
in class TimeLimitedRpcController
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.