@InterfaceAudience.Private public class PayloadCarryingRpcController extends Object implements RpcController, CellScannable
Constructor and Description |
---|
PayloadCarryingRpcController() |
PayloadCarryingRpcController(CellScanner cellScanner) |
PayloadCarryingRpcController(List<CellScannable> cellIterables) |
Modifier and Type | Method and Description |
---|---|
CellScanner |
cellScanner() |
String |
errorText() |
boolean |
failed() |
int |
getPriority() |
boolean |
isCanceled() |
void |
notifyOnCancel(RpcCallback<Object> arg0) |
void |
reset() |
void |
setCellScanner(CellScanner cellScanner) |
void |
setFailed(String arg0) |
void |
setPriority(int priority) |
void |
setPriority(TableName tn) |
void |
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 String errorText()
errorText
in interface RpcController
public boolean failed()
failed
in interface RpcController
public boolean isCanceled()
isCanceled
in interface RpcController
public void notifyOnCancel(RpcCallback<Object> arg0)
notifyOnCancel
in interface RpcController
public void reset()
reset
in interface RpcController
public void setFailed(String arg0)
setFailed
in interface RpcController
public void startCancel()
startCancel
in interface RpcController
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 © 2013 The Apache Software Foundation. All Rights Reserved.