Class MLSyncUpNodeResponse

java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.action.support.nodes.BaseNodeResponse
org.opensearch.ml.common.transport.sync.MLSyncUpNodeResponse
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable

public class MLSyncUpNodeResponse extends org.opensearch.action.support.nodes.BaseNodeResponse
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse

    org.opensearch.core.transport.TransportResponse.Empty

    Nested 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

    Constructors
    Constructor
    Description
    MLSyncUpNodeResponse(org.opensearch.cluster.node.DiscoveryNode node, String modelStatus, String[] deployedModelIds, String[] runningDeployModelIds, String[] runningDeployModelTaskIds)
     
    MLSyncUpNodeResponse(org.opensearch.core.common.io.stream.StreamInput in)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    readStats(org.opensearch.core.common.io.stream.StreamInput in)
     
    void
    writeTo(org.opensearch.core.common.io.stream.StreamOutput out)
     

    Methods inherited from class org.opensearch.action.support.nodes.BaseNodeResponse

    getNode

    Methods inherited from class org.opensearch.core.transport.TransportMessage

    remoteAddress, remoteAddress

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MLSyncUpNodeResponse

      public MLSyncUpNodeResponse(org.opensearch.cluster.node.DiscoveryNode node, String modelStatus, String[] deployedModelIds, String[] runningDeployModelIds, String[] runningDeployModelTaskIds)
    • MLSyncUpNodeResponse

      public MLSyncUpNodeResponse(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • readStats

      public static MLSyncUpNodeResponse readStats(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Throws:
      IOException
    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Specified by:
      writeTo in interface org.opensearch.core.common.io.stream.Writeable
      Overrides:
      writeTo in class org.opensearch.action.support.nodes.BaseNodeResponse
      Throws:
      IOException
    • getModelStatus

      public String getModelStatus()
    • getDeployedModelIds

      public String[] getDeployedModelIds()
    • getRunningDeployModelIds

      public String[] getRunningDeployModelIds()
    • getRunningDeployModelTaskIds

      public String[] getRunningDeployModelTaskIds()