public abstract class AbstractJestClient extends Object implements JestClient
| Modifier and Type | Field and Description |
|---|---|
static String |
ELASTIC_SEARCH_DATE_FORMAT |
protected com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
AbstractJestClient() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getNextServer() |
protected String |
getRequestURL(String elasticSearchServer,
String uri) |
protected int |
getServerPoolSize() |
boolean |
isRequestCompressionEnabled() |
void |
setIdleConnectionReaper(IdleConnectionReaper idleConnectionReaper) |
void |
setNodeChecker(NodeChecker nodeChecker) |
void |
setRequestCompressionEnabled(boolean requestCompressionEnabled) |
void |
setServers(Set<String> servers) |
void |
shutdownClient() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executeAsyncpublic static final String ELASTIC_SEARCH_DATE_FORMAT
protected com.google.gson.Gson gson
public void setNodeChecker(NodeChecker nodeChecker)
public void setIdleConnectionReaper(IdleConnectionReaper idleConnectionReaper)
public void setServers(Set<String> servers)
setServers in interface JestClientpublic void shutdownClient()
shutdownClient in interface JestClientprotected String getNextServer()
NoServerConfiguredExceptionprotected int getServerPoolSize()
public boolean isRequestCompressionEnabled()
public void setRequestCompressionEnabled(boolean requestCompressionEnabled)
Copyright © 2017. All rights reserved.