package http
- Alphabetic
- Public
- All
Type Members
-
case class
SniffingConfiguration(sniffIntervals: FiniteDuration = 5.minutes, sniffAfterFailureInterval: Option[FiniteDuration] = Some(1.minute), nodeSniffer: Option[NodesSniffer] = None) extends Product with Serializable
- 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.
- sniffAfterFailureInterval
Sets the delay of a sniff execution scheduled after a failure (in milliseconds), when not set, no sniffing after failure is performed
- 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).
Value Members
- object JavaClientSniffed