类 IndexLifecycleClient
java.lang.Object
org.easysearch.client.IndexLifecycleClient
public class IndexLifecycleClient
extends java.lang.Object
-
方法概要
修饰符和类型 方法 说明 AcknowledgedResponsedeleteLifecyclePolicy(DeleteLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Delete a lifecycle definitionorg.easysearch.client.CancellabledeleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously delete a lifecycle definitionAcknowledgedResponsedeleteSnapshotLifecyclePolicy(DeleteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Delete a snapshot lifecycle definitionorg.easysearch.client.CancellabledeleteSnapshotLifecyclePolicyAsync(DeleteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously delete a snapshot lifecycle definitionExecuteSnapshotLifecyclePolicyResponseexecuteSnapshotLifecyclePolicy(ExecuteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Execute a snapshot lifecycle definitionorg.easysearch.client.CancellableexecuteSnapshotLifecyclePolicyAsync(ExecuteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<ExecuteSnapshotLifecyclePolicyResponse> listener)Asynchronously execute a snapshot lifecycle definitionAcknowledgedResponseexecuteSnapshotLifecycleRetention(ExecuteSnapshotLifecycleRetentionRequest request, org.easysearch.client.RequestOptions options)Execute snapshot lifecycle retentionorg.easysearch.client.CancellableexecuteSnapshotLifecycleRetentionAsync(ExecuteSnapshotLifecycleRetentionRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously execute snapshot lifecycle retentionExplainLifecycleResponseexplainLifecycle(ExplainLifecycleRequest request, org.easysearch.client.RequestOptions options)Explain the lifecycle state for an indexorg.easysearch.client.CancellableexplainLifecycleAsync(ExplainLifecycleRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<ExplainLifecycleResponse> listener)Asynchronously explain the lifecycle state for an indexGetLifecyclePolicyResponsegetLifecyclePolicy(GetLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Retrieve one or more lifecycle policy definition.org.easysearch.client.CancellablegetLifecyclePolicyAsync(GetLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetLifecyclePolicyResponse> listener)Asynchronously retrieve one or more lifecycle policy definition.LifecycleManagementStatusResponsegetSLMStatus(SnapshotLifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options)Get the status of Snapshot Lifecycle Management.org.easysearch.client.CancellablegetSLMStatusAsync(SnapshotLifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<LifecycleManagementStatusResponse> listener)Asynchronously get the status of Snapshot Lifecycle Management.GetSnapshotLifecyclePolicyResponsegetSnapshotLifecyclePolicy(GetSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Retrieve one or more snapshot lifecycle policy definitions.org.easysearch.client.CancellablegetSnapshotLifecyclePolicyAsync(GetSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetSnapshotLifecyclePolicyResponse> listener)Asynchronously retrieve one or more snapshot lifecycle policy definition.GetSnapshotLifecycleStatsResponsegetSnapshotLifecycleStats(GetSnapshotLifecycleStatsRequest request, org.easysearch.client.RequestOptions options)Retrieve snapshot lifecycle statistics.org.easysearch.client.CancellablegetSnapshotLifecycleStatsAsync(GetSnapshotLifecycleStatsRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetSnapshotLifecycleStatsResponse> listener)Asynchronously retrieve snapshot lifecycle statistics.LifecycleManagementStatusResponselifecycleManagementStatus(LifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options)Get the status of index lifecycle managementorg.easysearch.client.CancellablelifecycleManagementStatusAsync(LifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<LifecycleManagementStatusResponse> listener)Asynchronously get the status of index lifecycle managementAcknowledgedResponseputLifecyclePolicy(PutLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Create or modify a lifecycle definition.org.easysearch.client.CancellableputLifecyclePolicyAsync(PutLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously create or modify a lifecycle definition.AcknowledgedResponseputSnapshotLifecyclePolicy(PutSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Create or modify a snapshot lifecycle definition.org.easysearch.client.CancellableputSnapshotLifecyclePolicyAsync(PutSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously create or modify a snapshot lifecycle definition.RemoveIndexLifecyclePolicyResponseremoveIndexLifecyclePolicy(RemoveIndexLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Remove the index lifecycle policy for an indexorg.easysearch.client.CancellableremoveIndexLifecyclePolicyAsync(RemoveIndexLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<RemoveIndexLifecyclePolicyResponse> listener)Asynchronously remove the index lifecycle policy for an indexAcknowledgedResponseretryLifecyclePolicy(RetryLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options)Retry lifecycle step for given indicesorg.easysearch.client.CancellableretryLifecyclePolicyAsync(RetryLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously retry the lifecycle step for given indicesAcknowledgedResponsestartILM(StartILMRequest request, org.easysearch.client.RequestOptions options)Start the Index Lifecycle Management feature.org.easysearch.client.CancellablestartILMAsync(StartILMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously start the Index Lifecycle Management feature.AcknowledgedResponsestartSLM(StartSLMRequest request, org.easysearch.client.RequestOptions options)Start the Snapshot Lifecycle Management feature.org.easysearch.client.CancellablestartSLMAsync(StartSLMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously start the Snapshot Lifecycle Management feature.AcknowledgedResponsestopILM(StopILMRequest request, org.easysearch.client.RequestOptions options)Stop the Index Lifecycle Management feature.org.easysearch.client.CancellablestopILMAsync(StopILMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously stop the Index Lifecycle Management feature.AcknowledgedResponsestopSLM(StopSLMRequest request, org.easysearch.client.RequestOptions options)Stop the Snapshot Lifecycle Management feature.org.easysearch.client.CancellablestopSLMAsync(StopSLMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously stop the Snapshot Lifecycle Management feature.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
方法详细资料
-
getLifecyclePolicy
public GetLifecyclePolicyResponse getLifecyclePolicy(GetLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionRetrieve one or more lifecycle policy definition. See- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
getLifecyclePolicyAsync
public org.easysearch.client.Cancellable getLifecyclePolicyAsync(GetLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetLifecyclePolicyResponse> listener)Asynchronously retrieve one or more lifecycle policy definition. See- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
putLifecyclePolicy
public AcknowledgedResponse putLifecyclePolicy(PutLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionCreate or modify a lifecycle definition.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
putLifecyclePolicyAsync
public org.easysearch.client.Cancellable putLifecyclePolicyAsync(PutLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously create or modify a lifecycle definition.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
deleteLifecyclePolicy
public AcknowledgedResponse deleteLifecyclePolicy(DeleteLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionDelete a lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
deleteLifecyclePolicyAsync
public org.easysearch.client.Cancellable deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously delete a lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
removeIndexLifecyclePolicy
public RemoveIndexLifecyclePolicyResponse removeIndexLifecyclePolicy(RemoveIndexLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionRemove the index lifecycle policy for an index- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
removeIndexLifecyclePolicyAsync
public org.easysearch.client.Cancellable removeIndexLifecyclePolicyAsync(RemoveIndexLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<RemoveIndexLifecyclePolicyResponse> listener)Asynchronously remove the index lifecycle policy for an index- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
startILM
public AcknowledgedResponse startILM(StartILMRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionStart the Index Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
startILMAsync
public org.easysearch.client.Cancellable startILMAsync(StartILMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously start the Index Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
stopILM
public AcknowledgedResponse stopILM(StopILMRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionStop the Index Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
stopILMAsync
public org.easysearch.client.Cancellable stopILMAsync(StopILMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously stop the Index Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
lifecycleManagementStatus
public LifecycleManagementStatusResponse lifecycleManagementStatus(LifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionGet the status of index lifecycle management- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 抛出:
java.io.IOException
-
lifecycleManagementStatusAsync
public org.easysearch.client.Cancellable lifecycleManagementStatusAsync(LifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<LifecycleManagementStatusResponse> listener)Asynchronously get the status of index lifecycle management- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
explainLifecycle
public ExplainLifecycleResponse explainLifecycle(ExplainLifecycleRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionExplain the lifecycle state for an index- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
explainLifecycleAsync
public org.easysearch.client.Cancellable explainLifecycleAsync(ExplainLifecycleRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<ExplainLifecycleResponse> listener)Asynchronously explain the lifecycle state for an index- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
retryLifecyclePolicy
public AcknowledgedResponse retryLifecyclePolicy(RetryLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionRetry lifecycle step for given indices- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
retryLifecyclePolicyAsync
public org.easysearch.client.Cancellable retryLifecyclePolicyAsync(RetryLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously retry the lifecycle step for given indices- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
getSnapshotLifecyclePolicy
public GetSnapshotLifecyclePolicyResponse getSnapshotLifecyclePolicy(GetSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionRetrieve one or more snapshot lifecycle policy definitions.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
getSnapshotLifecyclePolicyAsync
public org.easysearch.client.Cancellable getSnapshotLifecyclePolicyAsync(GetSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetSnapshotLifecyclePolicyResponse> listener)Asynchronously retrieve one or more snapshot lifecycle policy definition.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
putSnapshotLifecyclePolicy
public AcknowledgedResponse putSnapshotLifecyclePolicy(PutSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionCreate or modify a snapshot lifecycle definition.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
putSnapshotLifecyclePolicyAsync
public org.easysearch.client.Cancellable putSnapshotLifecyclePolicyAsync(PutSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously create or modify a snapshot lifecycle definition.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
deleteSnapshotLifecyclePolicy
public AcknowledgedResponse deleteSnapshotLifecyclePolicy(DeleteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionDelete a snapshot lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
deleteSnapshotLifecyclePolicyAsync
public org.easysearch.client.Cancellable deleteSnapshotLifecyclePolicyAsync(DeleteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously delete a snapshot lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
executeSnapshotLifecyclePolicy
public ExecuteSnapshotLifecyclePolicyResponse executeSnapshotLifecyclePolicy(ExecuteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionExecute a snapshot lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
executeSnapshotLifecyclePolicyAsync
public org.easysearch.client.Cancellable executeSnapshotLifecyclePolicyAsync(ExecuteSnapshotLifecyclePolicyRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<ExecuteSnapshotLifecyclePolicyResponse> listener)Asynchronously execute a snapshot lifecycle definition- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
executeSnapshotLifecycleRetention
public AcknowledgedResponse executeSnapshotLifecycleRetention(ExecuteSnapshotLifecycleRetentionRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionExecute snapshot lifecycle retention- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
executeSnapshotLifecycleRetentionAsync
public org.easysearch.client.Cancellable executeSnapshotLifecycleRetentionAsync(ExecuteSnapshotLifecycleRetentionRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously execute snapshot lifecycle retention- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
getSnapshotLifecycleStats
public GetSnapshotLifecycleStatsResponse getSnapshotLifecycleStats(GetSnapshotLifecycleStatsRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionRetrieve snapshot lifecycle statistics.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
getSnapshotLifecycleStatsAsync
public org.easysearch.client.Cancellable getSnapshotLifecycleStatsAsync(GetSnapshotLifecycleStatsRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<GetSnapshotLifecycleStatsResponse> listener)Asynchronously retrieve snapshot lifecycle statistics.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion
-
startSLM
public AcknowledgedResponse startSLM(StartSLMRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionStart the Snapshot Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
startSLMAsync
public org.easysearch.client.Cancellable startSLMAsync(StartSLMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously start the Snapshot Lifecycle Management feature.- 参数:
request- the requestlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
stopSLM
public AcknowledgedResponse stopSLM(StopSLMRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionStop the Snapshot Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
stopSLMAsync
public org.easysearch.client.Cancellable stopSLMAsync(StopSLMRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<AcknowledgedResponse> listener)Asynchronously stop the Snapshot Lifecycle Management feature.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-
getSLMStatus
public LifecycleManagementStatusResponse getSLMStatus(SnapshotLifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options) throws java.io.IOExceptionGet the status of Snapshot Lifecycle Management.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- 返回:
- the response
- 抛出:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
getSLMStatusAsync
public org.easysearch.client.Cancellable getSLMStatusAsync(SnapshotLifecycleManagementStatusRequest request, org.easysearch.client.RequestOptions options, org.easysearch.action.ActionListener<LifecycleManagementStatusResponse> listener)Asynchronously get the status of Snapshot Lifecycle Management.- 参数:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customizedlistener- the listener to be notified upon request completion- 返回:
- cancellable that may be used to cancel the request
-