public static class Commit.Accepted extends Commit.Proposal
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.Accepted> |
serializer |
Constructor and Description |
---|
Accepted(Ballot ballot,
PartitionUpdate update) |
Accepted(Commit commit) |
Modifier and Type | Method and Description |
---|---|
static Commit.Accepted |
latestAccepted(Commit.Accepted a,
Commit.Accepted b)
Like
Commit.latest(Commit, Commit) but also takes into account deletion time |
static Commit.Accepted |
none(DecoratedKey partitionKey,
TableMetadata metadata) |
java.lang.String |
toString() |
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.Accepted> serializer
public Accepted(Ballot ballot, PartitionUpdate update)
public Accepted(Commit commit)
public static Commit.Accepted none(DecoratedKey partitionKey, TableMetadata metadata)
public java.lang.String toString()
toString
in class Commit.Proposal
public static Commit.Accepted latestAccepted(Commit.Accepted a, Commit.Accepted b)
Commit.latest(Commit, Commit)
but also takes into account deletion timeCopyright © 2009- The Apache Software Foundation