Uses of Class
org.apache.zookeeper.server.Request
-
Packages that use Request Package Description org.apache.zookeeper.audit org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.persistence org.apache.zookeeper.server.quorum -
-
Uses of Request in org.apache.zookeeper.audit
Methods in org.apache.zookeeper.audit with parameters of type Request Modifier and Type Method Description static voidAuditHelper. addAuditLog(Request request, DataTree.ProcessTxnResult rc)static voidAuditHelper. addAuditLog(Request request, DataTree.ProcessTxnResult txnResult, boolean failedTxn)Add audit log if audit log is enabled and operation is of type which to be audit logged. -
Uses of Request in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as Request Modifier and Type Field Description static RequestRequest. requestOfDeathMethods in org.apache.zookeeper.server with parameters of type Request Modifier and Type Method Description voidZKDatabase. addCommittedProposal(Request request)maintains a list of last committedLog or so committed requests.booleanZKDatabase. append(Request si)append to the underlying transaction logbooleanZooKeeperServer. authWriteRequest(Request request)Check Write Requests for Potential Access RestrictionsvoidZooKeeperServer. enqueueRequest(Request si)static voidZooTrace. logRequest(org.slf4j.Logger log, long mask, char rp, Request request, String header)protected voidContainerManager. postDeleteRequest(Request request)protected voidPrepRequestProcessor. pRequest(Request request)This method will be called inside the ProcessRequestThread, which is a singleton, so there will be a single thread calling this code.protected voidPrepRequestProcessor. pRequest2Txn(int type, long zxid, Request request, Record record)This method will be called inside the ProcessRequestThread, which is a singleton, so there will be a single thread calling this code.voidFinalRequestProcessor. processRequest(Request request)voidPrepRequestProcessor. processRequest(Request request)voidRequestProcessor. processRequest(Request request)voidSyncRequestProcessor. processRequest(Request request)voidUnimplementedRequestProcessor. processRequest(Request request)DataTree.ProcessTxnResultZooKeeperServer. processTxn(Request request)voidZooKeeperServer. requestFinished(Request request)protected voidZooKeeperServer. setLocalSessionFlag(Request si)If the underlying Zookeeper server support local session, this method will set a isLocalSession to true if a request is associated with a local session.protected booleanRequestThrottler. shouldThrottleOp(Request request, long elapsedTime)voidRequestThrottler. submitRequest(Request request)voidZooKeeperServer. submitRequest(Request si)voidZooKeeperServer. submitRequestNow(Request si)voidServerStats. updateLatency(Request request, long currentTime)Update request statistic. -
Uses of Request in org.apache.zookeeper.server.persistence
Methods in org.apache.zookeeper.server.persistence with parameters of type Request Modifier and Type Method Description booleanFileTxnLog. append(Request request)booleanFileTxnSnapLog. append(Request si)append the request to the transaction logsbooleanTxnLog. append(Request request)Append a request to the transaction log with a digset -
Uses of Request in org.apache.zookeeper.server.quorum
Subclasses of Request in org.apache.zookeeper.server.quorum Modifier and Type Class Description classLearnerSyncRequestFields in org.apache.zookeeper.server.quorum declared as Request Modifier and Type Field Description protected RequestLeader.Proposal. requestFields in org.apache.zookeeper.server.quorum with type parameters of type Request Modifier and Type Field Description protected LinkedBlockingQueue<Request>CommitProcessor. committedRequestsRequests that have been committed.protected Map<Long,Deque<Request>>CommitProcessor. pendingRequestsRequests that we are holding until commit comes in.protected LinkedBlockingQueue<Request>CommitProcessor. queuedRequestsIncoming requests.protected LinkedBlockingQueue<Request>CommitProcessor. queuedWriteRequestsIncoming requests that are waiting on a commit, contained in order of arrivalMethods in org.apache.zookeeper.server.quorum that return Request Modifier and Type Method Description RequestQuorumZooKeeperServer. checkUpgradeSession(Request request)RequestLeader.Proposal. getRequest()Methods in org.apache.zookeeper.server.quorum with parameters of type Request Modifier and Type Method Description RequestQuorumZooKeeperServer. checkUpgradeSession(Request request)voidCommitProcessor. commit(Request request)voidObserverZooKeeperServer. commitRequest(Request request)Unlike a Follower, which sees a full request only during the PROPOSAL phase, Observers get all the data required with the INFORM packet.protected booleanCommitProcessor. needCommit(Request request)voidCommitProcessor. processRequest(Request request)voidFollowerRequestProcessor. processRequest(Request request)voidLeaderRequestProcessor. processRequest(Request request)voidObserverRequestProcessor. processRequest(Request request)Simply queue the request, which will be processed in FIFO order.voidProposalRequestProcessor. processRequest(Request request)voidReadOnlyRequestProcessor. processRequest(Request request)voidSendAckRequestProcessor. processRequest(Request si)Leader.ProposalLeader. propose(Request request)create a proposal and send it out to all the membersprotected voidQuorumZooKeeperServer. setLocalSessionFlag(Request si)protected voidReadOnlyZooKeeperServer. setLocalSessionFlag(Request si)voidLeader. submitLearnerRequest(Request si)voidLeaderZooKeeperServer. submitLearnerRequest(Request request)Requests coming from the learner should go directly to PrepRequestProcessorvoidObserverMaster. submitLearnerRequest(Request si)Constructors in org.apache.zookeeper.server.quorum with parameters of type Request Constructor Description Proposal(Request request, QuorumPacket packet)PureRequestProposal(Request request)
-