|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.service.QuorumResponseHandler<T>
public class QuorumResponseHandler<T>
Constructor Summary | |
---|---|
QuorumResponseHandler(int responseCount,
IResponseResolver<T> responseResolver)
|
Method Summary | |
---|---|
void |
attachContext(java.lang.Object o)
Attach some application specific context to the callback. |
T |
get()
|
void |
response(Message message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuorumResponseHandler(int responseCount, IResponseResolver<T> responseResolver) throws org.apache.cassandra.service.InvalidRequestException
org.apache.cassandra.service.InvalidRequestException
Method Detail |
---|
public T get() throws java.util.concurrent.TimeoutException, DigestMismatchException
java.util.concurrent.TimeoutException
DigestMismatchException
public void response(Message message)
response
in interface IAsyncCallback
message
- responses to be returnedpublic void attachContext(java.lang.Object o)
IAsyncCallback
attachContext
in interface IAsyncCallback
o
- application specific context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |