Class FlushWork

  • All Implemented Interfaces:
    ElasticsearchWork, NonBulkableWork<Void>

    public class FlushWork
    extends AbstractNonBulkableWork<Void>
    A flush work for ES5, using the Flush API then the Refresh API.

    This is necessary because the "refresh" parameter in the Flush API has been removed in ES5 (elasticsearch/elasticsearch:7cc48c8e8723d3b31fbcb371070bc2a8d87b1f7e).