public static class Commit.Committed extends Commit.Agreed
Commit.Accepted, Commit.AcceptedWithTTL, Commit.Agreed, Commit.CommitSerializer<T extends Commit>, Commit.Committed, Commit.CommittedWithTTL, Commit.Proposal
Modifier and Type | Field and Description |
---|---|
static Commit.CommitSerializer<Commit.Committed> |
serializer |
Constructor and Description |
---|
Committed(Ballot ballot,
PartitionUpdate update) |
Committed(Commit copy) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNone() |
static Commit.Committed |
latestCommitted(Commit.Committed a,
Commit.Committed b) |
static Commit.Committed |
none(DecoratedKey partitionKey,
TableMetadata metadata) |
java.lang.String |
toString() |
latestAccepted
accepted, agreed, empty, of
compareWith, emptyCommit, equals, hasBallot, hashCode, hasSameBallot, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isBefore, isReproposalOf, isSameOrAfter, latest, latest, latest, makeMutation, newPrepare, newProposal, timestampsClash, timestampsClash, toString
public static final Commit.CommitSerializer<Commit.Committed> serializer
public Committed(Ballot ballot, PartitionUpdate update)
public Committed(Commit copy)
public static Commit.Committed none(DecoratedKey partitionKey, TableMetadata metadata)
public java.lang.String toString()
toString
in class Commit.Accepted
public static Commit.Committed latestCommitted(Commit.Committed a, Commit.Committed b)
public boolean isNone()
Copyright © 2009- The Apache Software Foundation