Class NodeFindDanglingIndexResponse
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportResponse
org.opensearch.action.support.nodes.BaseNodeResponse
org.opensearch.action.admin.indices.dangling.find.NodeFindDanglingIndexResponse
- All Implemented Interfaces:
Writeable
public class NodeFindDanglingIndexResponse extends BaseNodeResponse
Used when querying every node in the cluster for a specific dangling index.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Modifier Constructor Description NodeFindDanglingIndexResponse(DiscoveryNode node, java.util.List<IndexMetadata> danglingIndexInfo)
protected
NodeFindDanglingIndexResponse(StreamInput in)
-
Method Summary
Modifier and Type Method Description java.util.List<IndexMetadata>
getDanglingIndexInfo()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
NodeFindDanglingIndexResponse
public NodeFindDanglingIndexResponse(DiscoveryNode node, java.util.List<IndexMetadata> danglingIndexInfo) -
NodeFindDanglingIndexResponse
- Throws:
java.io.IOException
-
-
Method Details
-
getDanglingIndexInfo
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
java.io.IOException
-