com.sksamuel.elastic4s.http
package com.sksamuel.elastic4s.http
Members list
Type members
Classlikes
object JavaClientSniffed
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JavaClientSniffed.type
case class SniffingConfiguration(sniffIntervals: FiniteDuration, sniffAfterFailureInterval: Option[FiniteDuration], nodeSniffer: Option[NodesSniffer])
Value parameters
- nodeSniffer
-
Sets the org.elasticsearch.client.sniff.NodesSniffer to be used to read hosts. A default instance of org.elasticsearch.client.sniff.ElasticsearchNodesSniffer is created when not provided. This method can be used to change the configuration of the org.elasticsearch.client.sniff.ElasticsearchNodesSniffer, or to provide a different implementation (e.g. in case hosts need to taken from a different source).
- sniffAfterFailureInterval
-
Sets the delay of a sniff execution scheduled after a failure (in milliseconds), when not set, no sniffing after failure is performed
- sniffIntervals
-
Sets the interval between consecutive ordinary sniff executions in milliseconds. Will be honoured when sniffOnFailure is disabled or when there are no failures between consecutive sniff executions.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article