public class DatacenterSyncWriteResponseHandler<T> extends AbstractWriteResponseHandler<T>
callback, logger, replicaPlan, writeType| Constructor and Description |
|---|
DatacenterSyncWriteResponseHandler(ReplicaPlan.ForTokenWrite replicaPlan,
java.lang.Runnable callback,
WriteType writeType,
long queryStartNanoTime) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
ackCount() |
void |
onResponse(Message<T> message)
null message means "response from local write"
|
blockFor, candidateReplicaCount, consistencyLevel, currentTimeoutNanos, expired, get, invokeOnFailure, logResponseToIdealCLDelegate, maybeTryAdditionalReplicas, onFailure, setIdealCLResponseHandler, signal, waitingForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittrackLatencyForSnitchpublic DatacenterSyncWriteResponseHandler(ReplicaPlan.ForTokenWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, long queryStartNanoTime)
public void onResponse(Message<T> message)
AbstractWriteResponseHandleronResponse in interface RequestCallback<T>onResponse in class AbstractWriteResponseHandler<T>message - response received.protected int ackCount()
ackCount in class AbstractWriteResponseHandler<T>Copyright © 2009-2022 The Apache Software Foundation