Package org.opensearch.index.seqno
Class RetentionLeaseActions.RemoveRequest
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportRequest
org.opensearch.action.ActionRequest
org.opensearch.action.support.single.shard.SingleShardRequest<T>
org.opensearch.index.seqno.RetentionLeaseActions.RemoveRequest
- All Implemented Interfaces:
IndicesRequest
,Writeable
,TaskAwareRequest
- Enclosing class:
- RetentionLeaseActions
public static class RetentionLeaseActions.RemoveRequest extends SingleShardRequest<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.opensearch.action.IndicesRequest
IndicesRequest.Replaceable
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.opensearch.action.support.single.shard.SingleShardRequest
index, INDICES_OPTIONS
-
Constructor Summary
Constructors Constructor Description RemoveRequest(ShardId shardId, java.lang.String id)
-
Method Summary
Modifier and Type Method Description java.lang.String
getId()
ShardId
getShardId()
ActionRequestValidationException
validate()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.opensearch.action.support.single.shard.SingleShardRequest
index, index, indices, indicesOptions, validateNonNullIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
Method Details
-
getShardId
-
getId
public java.lang.String getId() -
validate
- Specified by:
validate
in classActionRequest
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classSingleShardRequest<T extends SingleShardRequest<T>>
- Throws:
java.io.IOException
-