Class MLSyncUpNodesResponse
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.core.action.ActionResponse
org.opensearch.action.support.nodes.BaseNodesResponse<MLSyncUpNodeResponse>
org.opensearch.ml.common.transport.sync.MLSyncUpNodesResponse
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
public class MLSyncUpNodesResponse
extends org.opensearch.action.support.nodes.BaseNodesResponse<MLSyncUpNodeResponse>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse
org.opensearch.core.transport.TransportResponse.EmptyNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionMLSyncUpNodesResponse(org.opensearch.cluster.ClusterName clusterName, List<MLSyncUpNodeResponse> nodes, List<org.opensearch.action.FailedNodeException> failures) MLSyncUpNodesResponse(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionreadNodesFrom(org.opensearch.core.common.io.stream.StreamInput in) voidwriteNodesTo(org.opensearch.core.common.io.stream.StreamOutput out, List<MLSyncUpNodeResponse> nodes) voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.action.support.nodes.BaseNodesResponse
failures, getClusterName, getNodes, getNodesMap, hasFailuresMethods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
MLSyncUpNodesResponse
public MLSyncUpNodesResponse(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
MLSyncUpNodesResponse
public MLSyncUpNodesResponse(org.opensearch.cluster.ClusterName clusterName, List<MLSyncUpNodeResponse> nodes, List<org.opensearch.action.FailedNodeException> failures)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Overrides:
writeToin classorg.opensearch.action.support.nodes.BaseNodesResponse<MLSyncUpNodeResponse>- Throws:
IOException
-
writeNodesTo
public void writeNodesTo(org.opensearch.core.common.io.stream.StreamOutput out, List<MLSyncUpNodeResponse> nodes) throws IOException - Specified by:
writeNodesToin classorg.opensearch.action.support.nodes.BaseNodesResponse<MLSyncUpNodeResponse>- Throws:
IOException
-
readNodesFrom
public List<MLSyncUpNodeResponse> readNodesFrom(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Specified by:
readNodesFromin classorg.opensearch.action.support.nodes.BaseNodesResponse<MLSyncUpNodeResponse>- Throws:
IOException
-