## Uses of Class
org.apache.solr.cloud.ElectionContext

- Packages that use ElectionContext
  Package | Description
  --- | ---
  org.apache.solr.cloud | Classes for dealing with ZooKeeper when operating in SolrCloud mode.

- - ### Uses of ElectionContext in org.apache.solr.cloud

    Methods in org.apache.solr.cloud that return ElectionContext
    Modifier and Type | Method and Description
    --- | ---
    `ElectionContext` | ElectionContext.`copy()`
    `ElectionContext` | LeaderElector.`getContext()`

    Methods in org.apache.solr.cloud with parameters of type ElectionContext
    Modifier and Type | Method and Description
    --- | ---
    `int` | LeaderElector.`joinElection(ElectionContext context, boolean replacement)`
    `int` | LeaderElector.`joinElection(ElectionContext context, boolean replacement, boolean joinAtHead)` Begin participating in the election process.
    `protected void` | LeaderElector.`runIamLeaderProcess(ElectionContext context, boolean weAreReplacement)`
    `void` | LeaderElector.`setup(ElectionContext context)` Set up any ZooKeeper nodes needed for leader election.

    Constructor parameters in org.apache.solr.cloud with type arguments of type ElectionContext
    Constructor and Description
    `LeaderElector(SolrZkClient zkClient, org.apache.solr.cloud.ZkController.ContextKey key, Map<org.apache.solr.cloud.ZkController.ContextKey,ElectionContext> electionContexts)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.