Class SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder

  • Enclosing class:
    SolrTestCaseJ4

    public static class SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder
    extends org.apache.solr.client.solrj.impl.CloudHttp2SolrClient.Builder
    A variant of CloudHttp2SolrClient.Builder that will randomize some internal settings.
    • Field Summary

      • Fields inherited from class org.apache.solr.client.solrj.impl.CloudHttp2SolrClient.Builder

        directUpdatesToLeadersOnly, httpClient, internalClientBuilder, parallelUpdates, shardLeadersOnly, solrUrls, stateProvider, zkChroot, zkHosts
    • Method Summary

      • Methods inherited from class org.apache.solr.client.solrj.impl.CloudHttp2SolrClient.Builder

        build, sendDirectUpdatesToAnyShardReplica, sendDirectUpdatesToShardLeadersOnly, sendUpdatesOnlyToShardLeaders, sendUpdatesToAnyReplica, setParallelCacheRefreshes, setRetryExpiryTime, withCollectionCacheTtl, withCollectionCacheTtl, withHttpClient, withInternalClientBuilder, withParallelCacheRefreshes, withParallelUpdates, withRequestWriter, withResponseParser, withRetryExpiryTime
    • Constructor Detail

      • RandomizingCloudHttp2SolrClientBuilder

        public RandomizingCloudHttp2SolrClientBuilder​(List<String> zkHosts,
                                                      Optional<String> zkChroot)
      • RandomizingCloudHttp2SolrClientBuilder

        public RandomizingCloudHttp2SolrClientBuilder​(org.apache.solr.client.solrj.impl.ClusterStateProvider stateProvider)
      • RandomizingCloudHttp2SolrClientBuilder

        public RandomizingCloudHttp2SolrClientBuilder​(MiniSolrCloudCluster cluster)