@UriParams public class ElasticsearchConfiguration extends Object
Constructor and Description |
---|
ElasticsearchConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Name of the cluster
|
int |
getConnectionTimeout()
The time in ms to wait before connection will timeout.
|
Boolean |
getEnableSniffer()
Enable automatically discover nodes from a running Elasticsearch cluster
|
String |
getHostAddresses()
Comma separated list with ip:port formatted remote transport addresses to use.
|
List<org.apache.http.HttpHost> |
getHostAddressesList() |
String |
getIndexName()
The name of the index to act against
|
int |
getMaxRetryTimeout()
The time in ms before retry
|
ElasticsearchOperation |
getOperation()
What operation to perform
|
String |
getPassword()
Password for authenticate
|
int |
getScrollKeepAliveMs()
Time in ms during which elasticsearch will keep search context alive
|
int |
getSniffAfterFailureDelay()
The delay of a sniff execution scheduled after a failure (in milliseconds)
|
int |
getSnifferInterval()
The interval between consecutive ordinary sniff executions in milliseconds.
|
int |
getSocketTimeout()
The timeout in ms to wait before the socket will timeout.
|
String |
getUser()
Basic authenticate user
|
int |
getWaitForActiveShards()
Index creation waits for the write consistency number of shards to be available
|
boolean |
isDisconnect()
Disconnect after it finish calling the producer
|
boolean |
isEnableSSL()
Enable SSL
|
boolean |
isUseScroll()
Enable scroll usage
|
void |
setClusterName(String clusterName) |
void |
setConnectionTimeout(int connectionTimeout) |
void |
setDisconnect(boolean disconnect) |
void |
setEnableSniffer(Boolean enableSniffer) |
void |
setEnableSSL(boolean enableSSL) |
void |
setHostAddresses(String hostAddresses) |
void |
setHostAddressesList(List<org.apache.http.HttpHost> hostAddressesList) |
void |
setIndexName(String indexName) |
void |
setMaxRetryTimeout(int maxRetryTimeout) |
void |
setOperation(ElasticsearchOperation operation) |
void |
setPassword(String password) |
void |
setScrollKeepAliveMs(int scrollKeepAliveMs) |
void |
setSniffAfterFailureDelay(int sniffAfterFailureDelay) |
void |
setSnifferInterval(int snifferInterval) |
void |
setSocketTimeout(int socketTimeout) |
void |
setUser(String user) |
void |
setUseScroll(boolean useScroll) |
void |
setWaitForActiveShards(int waitForActiveShards) |
public String getClusterName()
public void setClusterName(String clusterName)
public ElasticsearchOperation getOperation()
public void setOperation(ElasticsearchOperation operation)
public String getIndexName()
public void setIndexName(String indexName)
public String getHostAddresses()
public void setHostAddresses(String hostAddresses)
public int getWaitForActiveShards()
public void setWaitForActiveShards(int waitForActiveShards)
public List<org.apache.http.HttpHost> getHostAddressesList()
public void setHostAddressesList(List<org.apache.http.HttpHost> hostAddressesList)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public boolean isEnableSSL()
public void setEnableSSL(boolean enableSSL)
public int getMaxRetryTimeout()
public void setMaxRetryTimeout(int maxRetryTimeout)
public boolean isDisconnect()
public void setDisconnect(boolean disconnect)
public Boolean getEnableSniffer()
public void setEnableSniffer(Boolean enableSniffer)
public int getSnifferInterval()
public void setSnifferInterval(int snifferInterval)
public int getSniffAfterFailureDelay()
public void setSniffAfterFailureDelay(int sniffAfterFailureDelay)
public boolean isUseScroll()
public void setUseScroll(boolean useScroll)
public int getScrollKeepAliveMs()
public void setScrollKeepAliveMs(int scrollKeepAliveMs)
Apache Camel