Class NodeFindDanglingIndexResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.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.elasticsearch.transport.TransportResponse
TransportResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Modifier Constructor Description NodeFindDanglingIndexResponse(DiscoveryNode node, java.util.List<IndexMetadata> danglingIndexInfo)protectedNodeFindDanglingIndexResponse(StreamInput in) -
Method Summary
Modifier and Type Method Description java.util.List<IndexMetadata>getDanglingIndexInfo()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
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:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodeResponse- Throws:
java.io.IOException
-