|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.ipc.HBaseClient.Call
protected class HBaseClient.Call
A call waiting for a value.
Constructor Summary | |
---|---|
protected |
HBaseClient.Call(org.apache.hadoop.io.Writable param)
|
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 |
setValue(org.apache.hadoop.io.Writable value)
Set the return value when there is no error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HBaseClient.Call(org.apache.hadoop.io.Writable param)
Method Detail |
---|
protected void callComplete()
public void setException(IOException error)
error
- exception thrown by the call; either local or remotepublic void setValue(org.apache.hadoop.io.Writable value)
value
- return value of the call.public long getStartTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |