## Uses of Interface
org.apache.solr.common.cloud.CollectionStatePredicate

- Packages that use CollectionStatePredicate
  Package | Description
  --- | ---
  org.apache.solr.client.solrj.impl | Concrete implementations of client API classes.
  org.apache.solr.common.cloud | Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

- - ### Uses of CollectionStatePredicate in org.apache.solr.client.solrj.impl

    Methods in org.apache.solr.client.solrj.impl with parameters of type CollectionStatePredicate
    Modifier and Type | Method and Description
    --- | ---
    `void` | CloudSolrClient.`waitForState(String collection, long wait, TimeUnit unit, CollectionStatePredicate predicate)` Block until a collection state matches a predicate, or a timeout Note that the predicate may be called again even after it has returned true, so implementors should avoid changing state within the predicate call itself.

  - ### Uses of CollectionStatePredicate in org.apache.solr.common.cloud

    Methods in org.apache.solr.common.cloud with parameters of type CollectionStatePredicate
    Modifier and Type | Method and Description
    --- | ---
    `void` | ZkStateReader.`waitForState(String collection, long wait, TimeUnit unit, CollectionStatePredicate predicate)` Block until a CollectionStatePredicate returns true, or the wait times out Note that the predicate may be called again even after it has returned true, so implementors should avoid changing state within the predicate call itself.

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