Uses of Class
org.apache.zookeeper.server.quorum.Leader.Proposal
Packages that use Leader.Proposal
Package
Description
ZooKeeper server theory of operation
-
Uses of Leader.Proposal in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server with type parameters of type Leader.ProposalMethods in org.apache.zookeeper.server that return Leader.ProposalModifier and TypeMethodDescriptionTxnLogProposalIterator.next()
Proposal returned by this iterator has request part set to null, since it is not used for follower sync-up.Methods in org.apache.zookeeper.server that return types with arguments of type Leader.ProposalModifier and TypeMethodDescriptionZKDatabase.getCommittedLog()
ZKDatabase.getProposalsFromTxnLog
(long startZxid, long sizeLimit) Get proposals from txnlog. -
Uses of Leader.Proposal in org.apache.zookeeper.server.quorum
Fields in org.apache.zookeeper.server.quorum declared as Leader.ProposalMethods in org.apache.zookeeper.server.quorum that return Leader.ProposalModifier and TypeMethodDescriptioncreate a proposal and send it out to all the membersMethods in org.apache.zookeeper.server.quorum with parameters of type Leader.ProposalModifier and TypeMethodDescriptionvoid
Leader.inform
(Leader.Proposal proposal) Create an inform packet and send it to all observers.void
Leader.informAndActivate
(Leader.Proposal proposal, long designatedLeader) Create an inform and activate packet and send it to all observers.boolean
Leader.tryToCommit
(Leader.Proposal p, long zxid, SocketAddress followerAddr) Method parameters in org.apache.zookeeper.server.quorum with type arguments of type Leader.ProposalModifier and TypeMethodDescriptionprotected long
LearnerHandler.queueCommittedProposals
(Iterator<Leader.Proposal> itr, long peerLastZxid, Long maxZxid, Long lastCommittedZxid) Queue committed proposals into packet queue. -
Uses of Leader.Proposal in org.apache.zookeeper.server.quorum.flexible
Method parameters in org.apache.zookeeper.server.quorum.flexible with type arguments of type Leader.ProposalModifier and TypeMethodDescriptionboolean
QuorumOracleMaj.revalidateOutstandingProp
(Leader self, ArrayList<Leader.Proposal> outstandingProposal, long lastCommitted) default boolean
QuorumVerifier.revalidateOutstandingProp
(Leader self, ArrayList<Leader.Proposal> outstandingProposal, long lastCommitted)