Builder

io.ino.solrs.AsyncSolrClient.Builder
See theBuilder companion object
case class Builder[F[_], ASC <: AsyncSolrClient[F]]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(loadBalancer: LoadBalancer, factory: F => ASC)(implicit futureFactory: FutureFactory[F])
def this(baseUrl: String, factory: F => ASC)(implicit futureFactory: FutureFactory[F])

Concrete methods

def build: ASC
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.

Configure the retry policy to apply for failed requests.

Attributes

def withServerStateObservation(serverStateObserver: ServerStateObserver[F], checkInterval: FiniteDuration, executorService: ScheduledExecutorService): Builder[F, ASC]

Configures server state observation using the given observer and the provided interval.

Configures server state observation using the given observer and the provided interval.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product