Uses of Class
org.apache.cassandra.service.paxos.Commit
Packages that use Commit
Package
Description
-
Uses of Commit in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type CommitModifier and TypeMethodDescriptionstatic 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 CommitSubclasses of Commit in org.apache.cassandra.service.paxosModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classFields in org.apache.cassandra.service.paxos declared as CommitModifier and TypeFieldDescriptionfinal CommitPrepareResponse.inProgressCommitfinal CommitPrepareResponse.mostRecentCommitFields in org.apache.cassandra.service.paxos with type parameters of type CommitMethods in org.apache.cassandra.service.paxos with type parameters of type CommitModifier and TypeMethodDescriptionstatic <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 CommitModifier and TypeMethodDescriptionstatic CommitCommit.emptyCommit(DecoratedKey partitionKey, TableMetadata metadata) static CommitCommit.newPrepare(DecoratedKey partitionKey, TableMetadata metadata, Ballot ballot) static CommitCommit.newProposal(Ballot ballot, PartitionUpdate update) Deprecated.See CASSANDRA-17164Methods in org.apache.cassandra.service.paxos with parameters of type CommitModifier and TypeMethodDescriptionstatic voidPaxosState.commitDirect(Commit commit) org.apache.cassandra.service.paxos.Commit.CompareResultCommit.compareWith(Commit that) static PaxosStatebooleanCommit.hasSameBallot(Commit other) static booleanbooleanstatic booleanstatic booleanbooleanCommit.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 Ballotthe latest of two ballots, or the first ballot if equal timestampsstatic PrepareResponsePaxosState.legacyPrepare(Commit toPrepare) static 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 CommitModifierConstructorDescriptionAcceptedWithTTL(Commit copy, long localDeletionTime) CommittedWithTTL(Commit copy, long 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 CommitModifier and TypeFieldDescriptionPrepareCallback.mostRecentCommitPrepareCallback.mostRecentInProgressCommitMethods in org.apache.cassandra.service.paxos.v1 with parameters of type CommitMethod parameters in org.apache.cassandra.service.paxos.v1 with type arguments of type Commit