public class ES5FlushWork extends SimpleElasticsearchWork<Void>
This is necessary because the "refresh" parameter in the Flush API has been removed in ES5 (elasticsearch/elasticsearch:7cc48c8e8723d3b31fbcb371070bc2a8d87b1f7e).
| Modifier and Type | Class and Description |
|---|---|
static class |
ES5FlushWork.Builder |
dirtiedIndexName, markIndexDirty, request, resultAssessor| Modifier | Constructor and Description |
|---|---|
protected |
ES5FlushWork(ES5FlushWork.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSuccess(ElasticsearchWorkExecutionContext executionContext) |
protected Void |
generateResult(ElasticsearchWorkExecutionContext context,
ElasticsearchResponse response) |
aggregate, beforeExecute, execute, getLuceneWorks, toStringprotected ES5FlushWork(ES5FlushWork.Builder builder)
protected void afterSuccess(ElasticsearchWorkExecutionContext executionContext)
afterSuccess in class SimpleElasticsearchWork<Void>protected Void generateResult(ElasticsearchWorkExecutionContext context, ElasticsearchResponse response)
generateResult in class SimpleElasticsearchWork<Void>Copyright © 2006–2017 Hibernate. All rights reserved.