public static class Commit.Proposal extends Commit
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.Proposal> |
serializer |
Constructor and Description |
---|
Proposal(Ballot ballot,
PartitionUpdate update) |
Modifier and Type | Method and Description |
---|---|
Commit.Accepted |
accepted() |
Commit.Agreed |
agreed() |
static Commit.Proposal |
empty(Ballot ballot,
DecoratedKey partitionKey,
TableMetadata metadata) |
static Commit.Proposal |
of(Ballot ballot,
PartitionUpdate update) |
java.lang.String |
toString() |
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.Proposal> serializer
public Proposal(Ballot ballot, PartitionUpdate update)
public static Commit.Proposal of(Ballot ballot, PartitionUpdate update)
public static Commit.Proposal empty(Ballot ballot, DecoratedKey partitionKey, TableMetadata metadata)
public Commit.Accepted accepted()
public Commit.Agreed agreed()
Copyright © 2009-2022 The Apache Software Foundation