@InterfaceAudience.Private public class DelegatingPayloadCarryingRpcController extends PayloadCarryingRpcController
RpcControllerFactory
to help override
standard behavior of a PayloadCarryingRpcController
.Modifier and Type | Field and Description |
---|---|
private PayloadCarryingRpcController |
delegate |
callTimeout, cancellationCb, cancelled, failureCb
Constructor and Description |
---|
DelegatingPayloadCarryingRpcController(PayloadCarryingRpcController delegate) |
Modifier and Type | Method and Description |
---|---|
CellScanner |
cellScanner() |
int |
getPriority() |
void |
setCellScanner(CellScanner cellScanner) |
void |
setPriority(int priority) |
void |
setPriority(TableName tn) |
reset
errorText, failed, getCallTimeout, hasCallTimeout, isCanceled, notifyOnCancel, notifyOnFail, setCallTimeout, setFailed, setFailed, startCancel
private PayloadCarryingRpcController delegate
public DelegatingPayloadCarryingRpcController(PayloadCarryingRpcController delegate)
public CellScanner cellScanner()
cellScanner
in interface CellScannable
cellScanner
in class PayloadCarryingRpcController
public void setCellScanner(CellScanner cellScanner)
setCellScanner
in class PayloadCarryingRpcController
public void setPriority(int priority)
setPriority
in class PayloadCarryingRpcController
priority
- Priority for this request; should fall roughly in the range
HConstants.NORMAL_QOS
to HConstants.HIGH_QOS
public void setPriority(TableName tn)
setPriority
in class PayloadCarryingRpcController
tn
- Set priority based off the table we are going against.public int getPriority()
getPriority
in class PayloadCarryingRpcController
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.