public class HbaseCall
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
HbaseCall(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
AsyncPayloadCarryingRpcController controller,
com.google.protobuf.Message responseDefaultType,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> doneHandler)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getStartTime()
Get the start time
|
void |
setFailed(java.io.IOException exception)
Set failed
|
void |
setSuccess(com.google.protobuf.Message value,
org.apache.hadoop.hbase.CellScanner cellBlockScanner)
Set success with a cellBlockScanner
|
java.lang.String |
toString() |
public HbaseCall(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
AsyncPayloadCarryingRpcController controller,
com.google.protobuf.Message responseDefaultType,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> doneHandler)
md - the method descriptorparam - parameters to send to Servercontroller - controller for responseresponseDefaultType - the default response typedoneHandler - done handlerpublic long getStartTime()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setSuccess(com.google.protobuf.Message value,
org.apache.hadoop.hbase.CellScanner cellBlockScanner)
value - to setcellBlockScanner - to setpublic void setFailed(java.io.IOException exception)
exception - to set