Class PrepareCallback
java.lang.Object
org.apache.cassandra.service.paxos.v1.AbstractPaxosCallback<PrepareResponse>
org.apache.cassandra.service.paxos.v1.PrepareCallback
- All Implemented Interfaces:
RequestCallback<PrepareResponse>
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanFields inherited from class org.apache.cassandra.service.paxos.v1.AbstractPaxosCallback
latch, targets -
Constructor Summary
ConstructorsConstructorDescriptionPrepareCallback(DecoratedKey key, TableMetadata metadata, int targets, ConsistencyLevel consistency, Dispatcher.RequestTime requestTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidonResponse(Message<PrepareResponse> message) replicasMissingMostRecentCommit(TableMetadata metadata) Methods inherited from class org.apache.cassandra.service.paxos.v1.AbstractPaxosCallback
await, getResponseCount, invokeOnFailure, onFailureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.net.RequestCallback
trackLatencyForSnitch
-
Field Details
-
promised
public boolean promised -
mostRecentCommit
-
mostRecentInProgressCommit
-
-
Constructor Details
-
PrepareCallback
public PrepareCallback(DecoratedKey key, TableMetadata metadata, int targets, ConsistencyLevel consistency, Dispatcher.RequestTime requestTime)
-
-
Method Details
-
onResponse
- Parameters:
message- response received.
-
replicasMissingMostRecentCommit
-