public abstract class AbstractElasticsearchProxy extends java.lang.Object implements ElasticsearchProxy
ElasticsearchProxy.Task<T>
Constructor and Description |
---|
AbstractElasticsearchProxy() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.elasticsearch.client.transport.TransportClient |
client() |
<T> T |
execute(ElasticsearchProxy.Task<T> task) |
protected void |
reportFailure(java.lang.String message,
java.lang.Exception failure) |
protected void |
reportMessage(java.lang.String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addresses, settings
protected abstract org.elasticsearch.client.transport.TransportClient client()
public final <T> T execute(ElasticsearchProxy.Task<T> task)
execute
in interface ElasticsearchProxy
protected void reportMessage(java.lang.String message)
protected void reportFailure(java.lang.String message, @Nullable java.lang.Exception failure)