@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface RpcCall extends RpcCallContext
disconnectSince, getClientVersionInfo, getRemoteAddress, getRequestUser, getRequestUserName, getResponseBlockSize, getResponseCellSize, getResponseExceptionSize, incrementResponseBlockSize, incrementResponseCellSize, incrementResponseExceptionSize, isClientCellBlockSupported, isRetryImmediatelySupported, setCallBack
org.apache.hadoop.hbase.shaded.com.google.protobuf.BlockingService getService()
org.apache.hadoop.hbase.shaded.com.google.protobuf.Descriptors.MethodDescriptor getMethod()
org.apache.hadoop.hbase.shaded.com.google.protobuf.Message getParam()
CellScanner getCellScanner()
long getReceiveTime()
long getStartTime()
void setStartTime(long startTime)
int getTimeout()
int getPriority()
long getDeadline()
long getSize()
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader getHeader()
int getRemotePort()
void setResponse(org.apache.hadoop.hbase.shaded.com.google.protobuf.Message param, CellScanner cells, Throwable errorThrowable, String error)
param
- The result message as response.cells
- The CellScanner that possibly carries the payload.errorThrowable
- The error Throwable resulting from the call.error
- Extra error message.void sendResponseIfReady() throws IOException
IOException
void cleanup()
String toShortString()
org.apache.htrace.TraceInfo getTraceInfo()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.