public class PrepareCallback extends AbstractPaxosCallback<PrepareResponse>
| Modifier and Type | Field and Description | 
|---|---|
| Commit | mostRecentCommit | 
| Commit | mostRecentInProgressCommit | 
| Commit | mostRecentInProgressCommitWithUpdate | 
| boolean | promised | 
latch, targetsisAlive| Constructor and Description | 
|---|
| PrepareCallback(DecoratedKey key,
               CFMetaData metadata,
               int targets,
               ConsistencyLevel consistency,
               long queryStartNanoTime) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Iterable<java.net.InetAddress> | replicasMissingMostRecentCommit(CFMetaData metadata,
                               int nowInSec) | 
| void | response(MessageIn<PrepareResponse> message) | 
await, getResponseCount, isLatencyForSnitchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsBackPressurepublic boolean promised
public Commit mostRecentCommit
public Commit mostRecentInProgressCommit
public Commit mostRecentInProgressCommitWithUpdate
public PrepareCallback(DecoratedKey key, CFMetaData metadata, int targets, ConsistencyLevel consistency, long queryStartNanoTime)
public void response(MessageIn<PrepareResponse> message)
message - response received.public java.lang.Iterable<java.net.InetAddress> replicasMissingMostRecentCommit(CFMetaData metadata, int nowInSec)
Copyright © 2018 The Apache Software Foundation