Package org.opensearch.index.seqno
Class RetentionLeaseActions.AddRequest
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.AddRequest
- All Implemented Interfaces:
IndicesRequest
,Writeable
,TaskAwareRequest
- Enclosing class:
- RetentionLeaseActions
public static class RetentionLeaseActions.AddRequest 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 AddRequest(ShardId shardId, java.lang.String id, long retainingSequenceNumber, java.lang.String source)
-
Method Summary
Modifier and Type Method Description java.lang.String
getId()
long
getRetainingSequenceNumber()
ShardId
getShardId()
java.lang.String
getSource()
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
-
AddRequest
public AddRequest(ShardId shardId, java.lang.String id, long retainingSequenceNumber, java.lang.String source)
-
-
Method Details
-
getRetainingSequenceNumber
public long getRetainingSequenceNumber() -
getSource
public java.lang.String getSource() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getShardId
-
getId
public java.lang.String getId() -
validate
- Specified by:
validate
in classActionRequest
-