|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.ipc.RpcClient.Call
protected class RpcClient.Call
A call waiting for a value.
| Constructor Summary | |
|---|---|
protected |
RpcClient.Call(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
CellScanner cells,
com.google.protobuf.Message responseDefaultType)
|
| Method Summary | |
|---|---|
protected void |
callComplete()
Indicate when the call is complete and the value or error are available. |
long |
getStartTime()
|
void |
setException(IOException error)
Set the exception when there is an error. |
void |
setResponse(com.google.protobuf.Message response,
CellScanner cells)
Set the return value when there is no error. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RpcClient.Call(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
CellScanner cells,
com.google.protobuf.Message responseDefaultType)
| Method Detail |
|---|
public String toString()
toString in class Objectprotected void callComplete()
public void setException(IOException error)
error - exception thrown by the call; either local or remote
public void setResponse(com.google.protobuf.Message response,
CellScanner cells)
response - return value of the call.cells - Can be nullpublic long getStartTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||