Interface SolrCloudManager

  • All Superinterfaces:
    AutoCloseable, Closeable, org.apache.solr.common.SolrCloseable
    All Known Implementing Classes:
    DelegatingCloudManager, SolrClientCloudManager

    public interface SolrCloudManager
    extends org.apache.solr.common.SolrCloseable
    This interface abstracts the access to a SolrCloud cluster, including interactions with Zookeeper, Solr and generic HTTP calls.

    This abstraction should be used when possible instead of directly referencing ZK, Solr and HTTP.

    • Method Detail

      • getClusterStateProvider

        org.apache.solr.client.solrj.impl.ClusterStateProvider getClusterStateProvider()
      • getClusterState

        default org.apache.solr.common.cloud.ClusterState getClusterState()
                                                                   throws IOException
        Throws:
        IOException
      • getObjectCache

        org.apache.solr.common.util.ObjectCache getObjectCache()
      • getTimeSource

        org.apache.solr.common.util.TimeSource getTimeSource()
      • request

        <T extends org.apache.solr.client.solrj.SolrResponse> T request​(org.apache.solr.client.solrj.SolrRequest<T> req)
                                                                 throws IOException
        Throws:
        IOException