Class SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder

java.lang.Object
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
org.apache.solr.SolrTestCaseJ4.RandomizingCloudHttp2SolrClientBuilder
Enclosing class:
SolrTestCaseJ4

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

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

    canUseZkACLs, defaultCollection, directUpdatesToLeadersOnly, httpClient, internalClientBuilder, parallelCacheRefreshesLocks, parallelUpdates, requestWriter, responseParser, retryExpiryTimeNano, shardLeadersOnly, solrUrls, stateProvider, timeToLiveSeconds, zkChroot, zkClientTimeout, zkConnectTimeout, zkHosts
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    RandomizingCloudHttp2SolrClientBuilder(org.apache.solr.client.solrj.impl.ClusterStateProvider stateProvider)
     
     
  • Method Summary

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

    build, canUseZkACLs, createHttpClusterStateProvider, createOrGetHttpClient, createOrGetLbClient, createZkClusterStateProvider, sendDirectUpdatesToAnyShardReplica, sendDirectUpdatesToShardLeadersOnly, sendUpdatesOnlyToShardLeaders, sendUpdatesToAnyReplica, withCollectionCacheTtl, withDefaultCollection, withHttpClient, withHttpClientBuilder, withInternalClientBuilder, withParallelCacheRefreshes, withParallelUpdates, withRequestWriter, withResponseParser, withRetryExpiryTime, withZkClientTimeout, withZkConnectTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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)