|
||||||||||
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(Descriptors.MethodDescriptor md,
Message param,
CellScanner cells,
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(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(Descriptors.MethodDescriptor md, Message param, CellScanner cells, Message responseDefaultType)
Method Detail |
---|
public String toString()
toString
in class Object
protected void callComplete()
public void setException(IOException error)
error
- exception thrown by the call; either local or remotepublic void setResponse(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 |