case class Builder[F[_], ASC <: AsyncSolrClient[F]](loadBalancer: LoadBalancer, httpClient: Option[AsyncHttpClient], shutdownHttpClient: Boolean, requestInterceptor: Option[RequestInterceptor] = None, requestWriter: Option[RequestWriter] = None, responseParser: Option[ResponseParser] = None, metrics: Option[Metrics] = None, serverStateObservation: Option[ServerStateObservation[F]] = None, retryPolicy: RetryPolicy = RetryPolicy.TryOnce, factory: ASCFactory[F, ASC])(implicit futureFactory: FutureFactory[F]) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Builder
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Builder(baseUrl: String, factory: ASCFactory[F, ASC])(implicit futureFactory: FutureFactory[F])
- new Builder(loadBalancer: LoadBalancer, factory: ASCFactory[F, ASC])(implicit futureFactory: FutureFactory[F])
- new Builder(loadBalancer: LoadBalancer, httpClient: Option[AsyncHttpClient], shutdownHttpClient: Boolean, requestInterceptor: Option[RequestInterceptor] = None, requestWriter: Option[RequestWriter] = None, responseParser: Option[ResponseParser] = None, metrics: Option[Metrics] = None, serverStateObservation: Option[ServerStateObservation[F]] = None, retryPolicy: RetryPolicy = RetryPolicy.TryOnce, factory: ASCFactory[F, ASC])(implicit futureFactory: FutureFactory[F])
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build: ASC
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createHttpClient: AsyncHttpClient
- Attributes
- protected
- def createMetrics: Metrics
- Attributes
- protected
- def createRequestWriter: RequestWriter
- Attributes
- protected
- def createResponseParser: ResponseParser
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val factory: ASCFactory[F, ASC]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val httpClient: Option[AsyncHttpClient]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val loadBalancer: LoadBalancer
- val metrics: Option[Metrics]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestInterceptor: Option[RequestInterceptor]
- val requestWriter: Option[RequestWriter]
- val responseParser: Option[ResponseParser]
- val retryPolicy: RetryPolicy
- val serverStateObservation: Option[ServerStateObservation[F]]
- def setOnAsyncSolrClientAwares(solr: AsyncSolrClient[F]): Unit
- Attributes
- protected
- val shutdownHttpClient: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHttpClient(httpClient: AsyncHttpClient): Builder[F, ASC]
- def withMetrics(metrics: Metrics): Builder[F, ASC]
- def withRequestInterceptor(requestInterceptor: RequestInterceptor): Builder[F, ASC]
- def withRequestWriter(requestWriter: RequestWriter): Builder[F, ASC]
- def withResponseParser(responseParser: ResponseParser): Builder[F, ASC]
- def withRetryPolicy(retryPolicy: RetryPolicy): Builder[F, ASC]
Configure the retry policy to apply for failed requests.
- def withServerStateObservation(serverStateObserver: ServerStateObserver[F], checkInterval: FiniteDuration, executorService: ScheduledExecutorService): Builder[F, ASC]
Configures server state observation using the given observer and the provided interval.