Class TransportVerifyShardBeforeCloseAction.ShardRequest
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportRequest
org.opensearch.action.ActionRequest
org.opensearch.action.support.replication.ReplicationRequest<TransportVerifyShardBeforeCloseAction.ShardRequest>
org.opensearch.action.admin.indices.close.TransportVerifyShardBeforeCloseAction.ShardRequest
- All Implemented Interfaces:
IndicesRequest
,Writeable
,TaskAwareRequest
- Enclosing class:
- TransportVerifyShardBeforeCloseAction
public static class TransportVerifyShardBeforeCloseAction.ShardRequest extends ReplicationRequest<TransportVerifyShardBeforeCloseAction.ShardRequest>
-
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.replication.ReplicationRequest
DEFAULT_TIMEOUT, index, shardId, timeout, waitForActiveShards
-
Constructor Summary
Constructors Constructor Description ShardRequest(ShardId shardId, ClusterBlock clusterBlock, boolean phase1, TaskId parentTaskId)
-
Method Summary
Modifier and Type Method Description ClusterBlock
clusterBlock()
boolean
isPhase1()
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.opensearch.action.support.replication.ReplicationRequest
createTask, getDescription, index, index, indices, indicesOptions, onRetry, routedBasedOnClusterVersion, shardId, timeout, timeout, timeout, validate, waitForActiveShards, waitForActiveShards, waitForActiveShards, writeThin
-
Constructor Details
-
ShardRequest
public ShardRequest(ShardId shardId, ClusterBlock clusterBlock, boolean phase1, TaskId parentTaskId)
-
-
Method Details
-
toString
public java.lang.String toString()- Specified by:
toString
in classReplicationRequest<TransportVerifyShardBeforeCloseAction.ShardRequest>
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classReplicationRequest<TransportVerifyShardBeforeCloseAction.ShardRequest>
- Throws:
java.io.IOException
-
clusterBlock
-
isPhase1
public boolean isPhase1()
-