Uses of Class
org.apache.cassandra.service.paxos.Commit
-
Packages that use Commit Package Description org.apache.cassandra.db org.apache.cassandra.service.paxos org.apache.cassandra.service.paxos.v1 -
-
Uses of Commit in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type Commit Modifier and Type Method Description static voidSystemKeyspace. savePaxosCommit(Commit commit)static voidSystemKeyspace. savePaxosProposal(Commit proposal) -
Uses of Commit in org.apache.cassandra.service.paxos
Classes in org.apache.cassandra.service.paxos with type parameters of type Commit Modifier and Type Class Description static classCommit.CommitSerializer<T extends Commit>Subclasses of Commit in org.apache.cassandra.service.paxos Modifier and Type Class Description static classCommit.Acceptedstatic classCommit.AcceptedWithTTLstatic classCommit.Agreedstatic classCommit.Committedstatic classCommit.CommittedWithTTLstatic classCommit.ProposalFields in org.apache.cassandra.service.paxos declared as Commit Modifier and Type Field Description CommitPrepareResponse. inProgressCommitCommitPrepareResponse. mostRecentCommitFields in org.apache.cassandra.service.paxos with type parameters of type Commit Modifier and Type Field Description static Commit.CommitSerializer<Commit>Commit. serializerMethods in org.apache.cassandra.service.paxos with type parameters of type Commit Modifier and Type Method Description static <C extends Commit>
CCommit. latest(C a, C b)the latest of two ballots, or the first ballot if equal timestampsMethods in org.apache.cassandra.service.paxos that return Commit Modifier and Type Method Description static CommitCommit. emptyCommit(DecoratedKey partitionKey, TableMetadata metadata)static CommitCommit. newPrepare(DecoratedKey partitionKey, TableMetadata metadata, Ballot ballot)static CommitCommit. newProposal(Ballot ballot, PartitionUpdate update)Deprecated.Methods in org.apache.cassandra.service.paxos with parameters of type Commit Modifier and Type Method Description static voidPaxosState. commitDirect(Commit commit)org.apache.cassandra.service.paxos.Commit.CompareResultCommit. compareWith(Commit that)static PaxosStatePaxosState. get(Commit commit)booleanCommit. hasSameBallot(Commit other)static booleanCommit. isAfter(Ballot testIsAfter, Commit testIsBefore)booleanCommit. isAfter(Commit other)static booleanCommit. isAfter(Commit testIsAfter, Ballot testIsBefore)static booleanCommit. isAfter(Commit testIsAfter, Commit testIsBefore)booleanCommit. isReproposalOf(Commit older)We can witness reproposals of the latest successful commit; we can detect this by comparing the timestamp of the update with our ballot; if it is the same, we are not a reproposal.static BallotCommit. latest(Commit a, Ballot b)the latest of two ballots, or the first ballot if equal timestampsstatic PrepareResponsePaxosState. legacyPrepare(Commit toPrepare)static java.lang.BooleanPaxosState. legacyPropose(Commit proposal)static booleanCommit. timestampsClash(Commit a, Ballot b)unequal ballots with same timestampstatic Commit.AcceptedWithTTLCommit.AcceptedWithTTL. withDefaultTTL(Commit copy)static Commit.CommittedWithTTLCommit.CommittedWithTTL. withDefaultTTL(Commit copy)Constructors in org.apache.cassandra.service.paxos with parameters of type Commit Constructor Description Accepted(Commit commit)AcceptedWithTTL(Commit copy, int localDeletionTime)Agreed(Commit copy)Committed(Commit copy)CommittedWithTTL(Commit copy, int localDeletionTime)PrepareResponse(boolean promised, Commit inProgressCommit, Commit mostRecentCommit)UnsafeSnapshot(Commit committed) -
Uses of Commit in org.apache.cassandra.service.paxos.v1
Fields in org.apache.cassandra.service.paxos.v1 declared as Commit Modifier and Type Field Description CommitPrepareCallback. mostRecentCommitCommitPrepareCallback. mostRecentInProgressCommitMethods in org.apache.cassandra.service.paxos.v1 with parameters of type Commit Modifier and Type Method Description static PrepareResponsePrepareVerbHandler. doPrepare(Commit toPrepare)static java.lang.BooleanProposeVerbHandler. doPropose(Commit proposal)Method parameters in org.apache.cassandra.service.paxos.v1 with type arguments of type Commit Modifier and Type Method Description voidAbstractPaxosVerbHandler. doVerb(Message<Commit> message)voidPrepareVerbHandler. processMessage(Message<Commit> message)
-