Class PaxosRequestCallback<T>
java.lang.Object
org.apache.cassandra.service.FailureRecordingCallback<T>
org.apache.cassandra.service.paxos.PaxosRequestCallback<T>
- All Implemented Interfaces:
RequestCallback<T>,RequestCallbackWithFailure<T>
- Direct Known Subclasses:
PaxosCommit,PaxosPrepare,PaxosPropose
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.service.FailureRecordingCallback
FailureRecordingCallback.AsMap, FailureRecordingCallback.FailureResponses -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <I> voidexecuteOnSelf(I parameter, BiFunction<I, InetAddressAndPort, T> execute) voidonResponse(Message<T> message) protected abstract voidonResponse(T response, InetAddressAndPort from) Methods inherited from class org.apache.cassandra.service.FailureRecordingCallback
failureReasonsAsMap, onFailure, onFailureWithMutexMethods 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
trackLatencyForSnitchMethods inherited from interface org.apache.cassandra.net.RequestCallbackWithFailure
invokeOnFailure
-
Constructor Details
-
PaxosRequestCallback
public PaxosRequestCallback()
-
-
Method Details
-
onResponse
-
onResponse
- Parameters:
message- response received.
-
executeOnSelf
-