B C D E H N O S T V 
All Classes All Packages

B

build() - Method in class org.elasticsearch.client.sniff.SnifferBuilder
Creates the Sniffer based on the provided configuration.
builder(RestClient) - Static method in class org.elasticsearch.client.sniff.Sniffer
Returns a new SnifferBuilder to help with Sniffer creation.

C

close() - Method in class org.elasticsearch.client.sniff.Sniffer
 

D

DEFAULT_SNIFF_AFTER_FAILURE_DELAY - Static variable in class org.elasticsearch.client.sniff.SnifferBuilder
 
DEFAULT_SNIFF_INTERVAL - Static variable in class org.elasticsearch.client.sniff.SnifferBuilder
 
DEFAULT_SNIFF_REQUEST_TIMEOUT - Static variable in class org.elasticsearch.client.sniff.ElasticsearchNodesSniffer
 

E

ElasticsearchNodesSniffer - Class in org.elasticsearch.client.sniff
Class responsible for sniffing the http hosts from elasticsearch through the nodes info api and returning them back.
ElasticsearchNodesSniffer(RestClient) - Constructor for class org.elasticsearch.client.sniff.ElasticsearchNodesSniffer
Creates a new instance of the Elasticsearch sniffer.
ElasticsearchNodesSniffer(RestClient, long, ElasticsearchNodesSniffer.Scheme) - Constructor for class org.elasticsearch.client.sniff.ElasticsearchNodesSniffer
Creates a new instance of the Elasticsearch sniffer.
ElasticsearchNodesSniffer.Scheme - Enum in org.elasticsearch.client.sniff
 

H

HTTP - org.elasticsearch.client.sniff.ElasticsearchNodesSniffer.Scheme
 
HTTPS - org.elasticsearch.client.sniff.ElasticsearchNodesSniffer.Scheme
 

N

NodesSniffer - Interface in org.elasticsearch.client.sniff
Responsible for sniffing the http hosts

O

onFailure(Node) - Method in class org.elasticsearch.client.sniff.SniffOnFailureListener
 
org.elasticsearch.client.sniff - package org.elasticsearch.client.sniff
 

S

setNodesSniffer(NodesSniffer) - Method in class org.elasticsearch.client.sniff.SnifferBuilder
Sets the NodesSniffer to be used to read hosts.
setSniffAfterFailureDelayMillis(int) - Method in class org.elasticsearch.client.sniff.SnifferBuilder
Sets the delay of a sniff execution scheduled after a failure (in milliseconds)
setSniffer(Sniffer) - Method in class org.elasticsearch.client.sniff.SniffOnFailureListener
Sets the Sniffer instance used to perform sniffing
setSniffIntervalMillis(int) - Method in class org.elasticsearch.client.sniff.SnifferBuilder
Sets the interval between consecutive ordinary sniff executions in milliseconds.
sniff() - Method in class org.elasticsearch.client.sniff.ElasticsearchNodesSniffer
Calls the elasticsearch nodes info api, parses the response and returns all the found http hosts
sniff() - Method in interface org.elasticsearch.client.sniff.NodesSniffer
Returns the sniffed Elasticsearch nodes.
Sniffer - Class in org.elasticsearch.client.sniff
Class responsible for sniffing nodes from some source (default is elasticsearch itself) and setting them to a provided instance of RestClient.
SnifferBuilder - Class in org.elasticsearch.client.sniff
Sniffer builder.
sniffOnFailure() - Method in class org.elasticsearch.client.sniff.Sniffer
Schedule sniffing to run as soon as possible if it isn't already running.
SniffOnFailureListener - Class in org.elasticsearch.client.sniff
RestClient.FailureListener implementation that allows to perform sniffing on failure.
SniffOnFailureListener() - Constructor for class org.elasticsearch.client.sniff.SniffOnFailureListener
 

T

toString() - Method in enum org.elasticsearch.client.sniff.ElasticsearchNodesSniffer.Scheme
 

V

valueOf(String) - Static method in enum org.elasticsearch.client.sniff.ElasticsearchNodesSniffer.Scheme
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.elasticsearch.client.sniff.ElasticsearchNodesSniffer.Scheme
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E H N O S T V 
All Classes All Packages