Skip to content

Commit 8aadf5f

Browse files
author
Christoph Büscher
committed
iter
1 parent a7387af commit 8aadf5f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

client/rest-high-level/src/main/java/org/elasticsearch/client/RollupClient.java

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
import org.elasticsearch.action.ActionListener;
2323
import org.elasticsearch.client.rollup.DeleteRollupJobRequest;
2424
import org.elasticsearch.client.rollup.DeleteRollupJobResponse;
25-
import org.elasticsearch.client.rollup.GetRollupJobRequest;
26-
import org.elasticsearch.client.rollup.GetRollupJobResponse;
2725
import org.elasticsearch.client.rollup.GetRollupCapsRequest;
2826
import org.elasticsearch.client.rollup.GetRollupCapsResponse;
27+
import org.elasticsearch.client.rollup.GetRollupJobRequest;
28+
import org.elasticsearch.client.rollup.GetRollupJobResponse;
2929
import org.elasticsearch.client.rollup.PutRollupJobRequest;
3030
import org.elasticsearch.client.rollup.PutRollupJobResponse;
31-
import org.elasticsearch.client.rollup.StopRollupJobRequest;
32-
import org.elasticsearch.client.rollup.StopRollupJobResponse;
3331
import org.elasticsearch.client.rollup.StartRollupJobRequest;
3432
import org.elasticsearch.client.rollup.StartRollupJobResponse;
33+
import org.elasticsearch.client.rollup.StopRollupJobRequest;
34+
import org.elasticsearch.client.rollup.StopRollupJobResponse;
3535

3636
import java.io.IOException;
3737
import java.util.Collections;
@@ -102,19 +102,20 @@ public StartRollupJobResponse startRollupJob(StartRollupJobRequest request, Requ
102102
}
103103

104104
/**
105-
* Asynchronously start a rollup job See <a href=
106-
* "https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-start-job.html">
105+
* Asynchronously start a rollup job
106+
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-start-job.html">
107107
* the docs</a> for more.
108-
*
109108
* @param request the request
110-
* @param options the request options (e.g. headers), use
111-
* {@link RequestOptions#DEFAULT} if nothing needs to be customized
109+
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
112110
* @param listener the listener to be notified upon request completion
113111
*/
114112
public void startRollupJobAsync(StartRollupJobRequest request, RequestOptions options,
115113
ActionListener<StartRollupJobResponse> listener) {
116-
restHighLevelClient.performRequestAsyncAndParseEntity(request, RollupRequestConverters::startJob, options,
117-
StartRollupJobResponse::fromXContent, listener, Collections.emptySet());
114+
restHighLevelClient.performRequestAsyncAndParseEntity(request,
115+
RollupRequestConverters::startJob,
116+
options,
117+
StartRollupJobResponse::fromXContent,
118+
listener, Collections.emptySet());
118119
}
119120

120121
/**

0 commit comments

Comments
 (0)