Module org.elasticsearch.xcore
Class PutSnapshotLifecycleAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<PutSnapshotLifecycleAction.Request>
org.elasticsearch.action.support.master.AcknowledgedRequest<PutSnapshotLifecycleAction.Request>
org.elasticsearch.xpack.core.slm.action.PutSnapshotLifecycleAction.Request
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest,TransportRequest
- Enclosing class:
PutSnapshotLifecycleAction
public static class PutSnapshotLifecycleAction.Request
extends AcknowledgedRequest<PutSnapshotLifecycleAction.Request>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
AcknowledgedRequest.PlainNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
DEFAULT_ACK_TIMEOUTFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
INFINITE_MASTER_NODE_TIMEOUT, TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUTFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionRequest(StreamInput in) Request(org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, String lifecycleId, SnapshotLifecyclePolicy lifecycle) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()parseRequest(org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, String lifecycleId, org.elasticsearch.xcontent.XContentParser parser) toString()validate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
ackTimeout, ackTimeoutMethods inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
masterNodeTimeout, masterNodeTimeout, masterTermMethods 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.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, createTask, getDescription, setParentTask
-
Constructor Details
-
Request
public Request(org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, String lifecycleId, SnapshotLifecyclePolicy lifecycle) -
Request
- Throws:
IOException
-
-
Method Details
-
getLifecycleId
-
getLifecycle
-
parseRequest
public static PutSnapshotLifecycleAction.Request parseRequest(org.elasticsearch.core.TimeValue masterNodeTimeout, org.elasticsearch.core.TimeValue ackTimeout, String lifecycleId, org.elasticsearch.xcontent.XContentParser parser) -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classAcknowledgedRequest<PutSnapshotLifecycleAction.Request>- Throws:
IOException
-
validate
- Overrides:
validatein classAcknowledgedRequest<PutSnapshotLifecycleAction.Request>
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classAbstractTransportRequest
-