@@ -120,8 +120,11 @@ public Cancellable putLifecyclePolicyAsync(PutLifecyclePolicyRequest request, Re
120
120
121
121
/**
122
122
* Delete a lifecycle definition
123
- * See <a href="https://fix-me-when-we-have-docs.com">
124
- * the docs</a> for more.
123
+ * See <pre>
124
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
125
+ * java-rest-high-ilm-ilm-delete-lifecycle-policy.html
126
+ * </pre>
127
+ * for more.
125
128
* @param request the request
126
129
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
127
130
* @return the response
@@ -135,8 +138,11 @@ public AcknowledgedResponse deleteLifecyclePolicy(DeleteLifecyclePolicyRequest r
135
138
136
139
/**
137
140
* Asynchronously delete a lifecycle definition
138
- * See <a href="https://fix-me-when-we-have-docs.com">
139
- * the docs</a> for more.
141
+ * See <pre>
142
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
143
+ * java-rest-high-ilm-ilm-delete-lifecycle-policy.html
144
+ * </pre>
145
+ * for more.
140
146
* @param request the request
141
147
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
142
148
* @param listener the listener to be notified upon request completion
@@ -151,8 +157,11 @@ public Cancellable deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest reque
151
157
152
158
/**
153
159
* Remove the index lifecycle policy for an index
154
- * See <a href="https://fix-me-when-we-have-docs.com">
155
- * the docs</a> for more.
160
+ * See <pre>
161
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
162
+ * java-rest-high-ilm-ilm-remove-lifecycle-policy-from-index.html
163
+ * </pre>
164
+ * for more.
156
165
* @param request the request
157
166
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
158
167
* @return the response
@@ -166,8 +175,11 @@ public RemoveIndexLifecyclePolicyResponse removeIndexLifecyclePolicy(RemoveIndex
166
175
167
176
/**
168
177
* Asynchronously remove the index lifecycle policy for an index
169
- * See <a href="https://fix-me-when-we-have-docs.com">
170
- * the docs</a> for more.
178
+ * See <pre>
179
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
180
+ * java-rest-high-ilm-ilm-remove-lifecycle-policy-from-index.html
181
+ * </pre>
182
+ * for more.
171
183
* @param request the request
172
184
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
173
185
* @param listener the listener to be notified upon request completion
@@ -182,8 +194,11 @@ public Cancellable removeIndexLifecyclePolicyAsync(RemoveIndexLifecyclePolicyReq
182
194
183
195
/**
184
196
* Start the Index Lifecycle Management feature.
185
- * See <a href="https://fix-me-when-we-have-docs.com">
186
- * the docs</a> for more.
197
+ * See <pre>
198
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
199
+ * java-rest-high-ilm-ilm-start-ilm.html
200
+ * </pre>
201
+ * for more.
187
202
* @param request the request
188
203
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
189
204
* @return the response
@@ -196,8 +211,11 @@ public AcknowledgedResponse startILM(StartILMRequest request, RequestOptions opt
196
211
197
212
/**
198
213
* Asynchronously start the Index Lifecycle Management feature.
199
- * See <a href="https://fix-me-when-we-have-docs.com">
200
- * the docs</a> for more.
214
+ * See <pre>
215
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
216
+ * java-rest-high-ilm-ilm-start-ilm.html
217
+ * </pre>
218
+ * for more.
201
219
* @param request the request
202
220
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
203
221
* @param listener the listener to be notified upon request completion
@@ -210,8 +228,11 @@ public Cancellable startILMAsync(StartILMRequest request, RequestOptions options
210
228
211
229
/**
212
230
* Stop the Index Lifecycle Management feature.
213
- * See <a href="https://fix-me-when-we-have-docs.com">
214
- * the docs</a> for more.
231
+ * See <pre>
232
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
233
+ * java-rest-high-ilm-ilm-stop-ilm.html
234
+ * </pre>
235
+ * for more.
215
236
* @param request the request
216
237
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
217
238
* @return the response
@@ -222,10 +243,30 @@ public AcknowledgedResponse stopILM(StopILMRequest request, RequestOptions optio
222
243
AcknowledgedResponse ::fromXContent , emptySet ());
223
244
}
224
245
246
+ /**
247
+ * Asynchronously stop the Index Lifecycle Management feature.
248
+ * See <pre>
249
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
250
+ * java-rest-high-ilm-ilm-stop-ilm.html
251
+ * </pre>
252
+ * for more.
253
+ * @param request the request
254
+ * @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
255
+ * @param listener the listener to be notified upon request completion
256
+ * @return cancellable that may be used to cancel the request
257
+ */
258
+ public Cancellable stopILMAsync (StopILMRequest request , RequestOptions options , ActionListener <AcknowledgedResponse > listener ) {
259
+ return restHighLevelClient .performRequestAsyncAndParseEntity (request , IndexLifecycleRequestConverters ::stopILM , options ,
260
+ AcknowledgedResponse ::fromXContent , listener , emptySet ());
261
+ }
262
+
225
263
/**
226
264
* Get the status of index lifecycle management
227
- * See <a href="https://fix-me-when-we-have-docs.com">
228
- * the docs</a> for more.
265
+ * See <pre>
266
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
267
+ * java-rest-high-ilm-ilm-status.html
268
+ * </pre>
269
+ * for more.
229
270
*
230
271
* @param request the request
231
272
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
@@ -238,8 +279,11 @@ public LifecycleManagementStatusResponse lifecycleManagementStatus(LifecycleMana
238
279
239
280
/**
240
281
* Asynchronously get the status of index lifecycle management
241
- * See <a href="https://fix-me-when-we-have-docs.com">
242
- * the docs</a> for more.
282
+ * See <pre>
283
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
284
+ * java-rest-high-ilm-ilm-status.html
285
+ * </pre>
286
+ * for more.
243
287
* @param request the request
244
288
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
245
289
* @param listener the listener to be notified upon request completion
@@ -252,24 +296,13 @@ public Cancellable lifecycleManagementStatusAsync(LifecycleManagementStatusReque
252
296
LifecycleManagementStatusResponse ::fromXContent , listener , emptySet ());
253
297
}
254
298
255
- /**
256
- * Asynchronously stop the Index Lifecycle Management feature.
257
- * See <a href="https://fix-me-when-we-have-docs.com">
258
- * the docs</a> for more.
259
- * @param request the request
260
- * @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
261
- * @param listener the listener to be notified upon request completion
262
- * @return cancellable that may be used to cancel the request
263
- */
264
- public Cancellable stopILMAsync (StopILMRequest request , RequestOptions options , ActionListener <AcknowledgedResponse > listener ) {
265
- return restHighLevelClient .performRequestAsyncAndParseEntity (request , IndexLifecycleRequestConverters ::stopILM , options ,
266
- AcknowledgedResponse ::fromXContent , listener , emptySet ());
267
- }
268
-
269
299
/**
270
300
* Explain the lifecycle state for an index
271
- * See <a href="https://fix-me-when-we-have-docs.com">
272
- * the docs</a> for more.
301
+ * See <pre>
302
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
303
+ * java-rest-high-ilm-ilm-explain-lifecycle.html
304
+ * </pre>
305
+ * for more.
273
306
* @param request the request
274
307
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
275
308
* @return the response
@@ -282,8 +315,11 @@ public ExplainLifecycleResponse explainLifecycle(ExplainLifecycleRequest request
282
315
283
316
/**
284
317
* Asynchronously explain the lifecycle state for an index
285
- * See <a href="https://fix-me-when-we-have-docs.com">
286
- * the docs</a> for more.
318
+ * See <pre>
319
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
320
+ * java-rest-high-ilm-ilm-explain-lifecycle.html
321
+ * </pre>
322
+ * for more.
287
323
* @param request the request
288
324
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
289
325
* @param listener the listener to be notified upon request completion
@@ -297,8 +333,11 @@ public Cancellable explainLifecycleAsync(ExplainLifecycleRequest request, Reques
297
333
298
334
/**
299
335
* Retry lifecycle step for given indices
300
- * See <a href="https://fix-me-when-we-have-docs.com">
301
- * the docs</a> for more.
336
+ * See <pre>
337
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
338
+ * java-rest-high-ilm-ilm-retry-lifecycle-policy.html
339
+ * </pre>
340
+ * for more.
302
341
* @param request the request
303
342
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
304
343
* @return the response
@@ -311,8 +350,11 @@ public AcknowledgedResponse retryLifecyclePolicy(RetryLifecyclePolicyRequest req
311
350
312
351
/**
313
352
* Asynchronously retry the lifecycle step for given indices
314
- * See <a href="https://fix-me-when-we-have-docs.com">
315
- * the docs</a> for more.
353
+ * See <pre>
354
+ * https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/
355
+ * java-rest-high-ilm-ilm-retry-lifecycle-policy.html
356
+ * </pre>
357
+ * for more.
316
358
* @param request the request
317
359
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
318
360
* @param listener the listener to be notified upon request completion
0 commit comments