Class PrepRequestProcessor

  • All Implemented Interfaces:
    Runnable, RequestProcessor

    public class PrepRequestProcessor
    extends ZooKeeperCriticalThread
    implements RequestProcessor
    This request processor is generally at the start of a RequestProcessor change. It sets up any transactions associated with requests that change the state of the system. It counts on ZooKeeperServer to update outstandingRequests, so that it can take into account transactions that are in the queue to be applied when generating a transaction.