use of org.graylog.shaded.elasticsearch7.org.elasticsearch.client.indices.CloseIndexRequest in project graylog2-server by Graylog2.
the class IndicesAdapterES7 method close.
@Override
public void close(String index) {
final CloseIndexRequest request = new CloseIndexRequest(index);
client.execute((c, requestOptions) -> c.indices().close(request, requestOptions), "Unable to close index " + index);
}
use of org.graylog.shaded.elasticsearch7.org.elasticsearch.client.indices.CloseIndexRequest in project graylog2-server by Graylog2.
the class ClientES7 method closeIndex.
@Override
public void closeIndex(String index) {
final CloseIndexRequest closeIndexRequest = new CloseIndexRequest(index);
client.execute((c, requestOptions) -> c.indices().close(closeIndexRequest, requestOptions));
}
Aggregations