Class Commit.Proposal
- java.lang.Object
-
- org.apache.cassandra.service.paxos.Commit
-
- org.apache.cassandra.service.paxos.Commit.Proposal
-
- Direct Known Subclasses:
Commit.Accepted
- Enclosing class:
- Commit
public static class Commit.Proposal extends Commit
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.service.paxos.Commit
Commit.Accepted, Commit.AcceptedWithTTL, Commit.Agreed, Commit.CommitSerializer<T extends Commit>, Commit.Committed, Commit.CommittedWithTTL, Commit.Proposal
-
-
Field Summary
Fields Modifier and Type Field Description static Commit.CommitSerializer<Commit.Proposal>serializer
-
Constructor Summary
Constructors Constructor Description Proposal(Ballot ballot, PartitionUpdate update)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Commit.Acceptedaccepted()Commit.Agreedagreed()static Commit.Proposalempty(Ballot ballot, DecoratedKey partitionKey, TableMetadata metadata)static Commit.Proposalof(Ballot ballot, PartitionUpdate update)java.lang.StringtoString()-
Methods inherited from class org.apache.cassandra.service.paxos.Commit
compareWith, emptyCommit, equals, hasBallot, hashCode, hasSameBallot, isAfter, isAfter, isAfter, isAfter, isAfter, isAfter, isBefore, isReproposalOf, isSameOrAfter, latest, latest, latest, makeMutation, newPrepare, newProposal, timestampsClash, timestampsClash, toString
-
-
-
-
Field Detail
-
serializer
public static final Commit.CommitSerializer<Commit.Proposal> serializer
-
-
Constructor Detail
-
Proposal
public Proposal(Ballot ballot, PartitionUpdate update)
-
-
Method Detail
-
of
public static Commit.Proposal of(Ballot ballot, PartitionUpdate update)
-
empty
public static Commit.Proposal empty(Ballot ballot, DecoratedKey partitionKey, TableMetadata metadata)
-
accepted
public Commit.Accepted accepted()
-
agreed
public Commit.Agreed agreed()
-
-