|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.service.WriteResponseHandler org.apache.cassandra.service.DatacenterWriteResponseHandler
public class DatacenterWriteResponseHandler
This class will basically will block for the replication factor which is provided in the input map. it will block till we recive response from (DC, n) nodes.
Field Summary |
---|
Fields inherited from class org.apache.cassandra.service.WriteResponseHandler |
---|
condition, localResponses, logger, responses |
Constructor Summary | |
---|---|
DatacenterWriteResponseHandler(int blockFor,
java.lang.String table)
|
Method Summary | |
---|---|
void |
response(Message message)
|
Methods inherited from class org.apache.cassandra.service.WriteResponseHandler |
---|
get, localResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatacenterWriteResponseHandler(int blockFor, java.lang.String table)
Method Detail |
---|
public void response(Message message)
response
in interface IAsyncCallback
response
in class WriteResponseHandler
message
- response received.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |