Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class ExplainLifecycleRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.action.support.local.LocalClusterStateRequest
org.elasticsearch.xpack.core.ilm.ExplainLifecycleRequest
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.Replaceable,Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest,TransportRequest
public class ExplainLifecycleRequest
extends LocalClusterStateRequest
implements IndicesRequest.Replaceable
The request object used by the Explain Lifecycle API.
Multiple indices may be queried in the same request using the
indices(String...) method
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable, IndicesRequest.SingleIndexNoWildcardsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionNB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC we must remain able to read these requests until we no longer need to support calling this action remotely.ExplainLifecycleRequest(org.elasticsearch.core.TimeValue masterTimeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanString[]indices()indicesOptions(IndicesOptions indicesOptions) booleanonlyErrors(boolean onlyErrors) booleanonlyManaged(boolean onlyManaged) toString()validate()Methods inherited from class org.elasticsearch.action.support.local.LocalClusterStateRequest
masterTimeout, writeToMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.action.IndicesRequest.Replaceable
allowsRemoteIndicesMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
ExplainLifecycleRequest
public ExplainLifecycleRequest(org.elasticsearch.core.TimeValue masterTimeout) -
ExplainLifecycleRequest
NB prior to 9.0 this was a TransportMasterNodeReadAction so for BwC we must remain able to read these requests until we no longer need to support calling this action remotely.- Throws:
IOException
-
-
Method Details
-
indices
- Specified by:
indicesin interfaceIndicesRequest.Replaceable
-
indicesOptions
-
indices
- Specified by:
indicesin interfaceIndicesRequest
-
indicesOptions
- Specified by:
indicesOptionsin interfaceIndicesRequest
-
includeDataStreams
public boolean includeDataStreams()- Specified by:
includeDataStreamsin interfaceIndicesRequest
-
onlyErrors
public boolean onlyErrors() -
onlyErrors
-
onlyManaged
public boolean onlyManaged() -
onlyManaged
-
validate
- Overrides:
validatein classLocalClusterStateRequest
-
createTask
public Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classAbstractTransportRequest
-