@InterfaceAudience.Private public class PayloadCarryingRpcController extends TimeLimitedRpcController implements CellScannable
callTimeout, cancellationCb, cancelled
Constructor and Description |
---|
PayloadCarryingRpcController() |
PayloadCarryingRpcController(CellScanner cellScanner) |
PayloadCarryingRpcController(List<CellScannable> cellIterables) |
Modifier and Type | Method and Description |
---|---|
CellScanner |
cellScanner() |
int |
getPriority() |
void |
setCellScanner(CellScanner cellScanner) |
void |
setPriority(int priority) |
void |
setPriority(TableName tn) |
errorText, failed, getCallTimeout, hasCallTimeout, isCanceled, notifyOnCancel, reset, setCallTimeout, 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()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.