Class LivenessResponse

java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.core.action.ActionResponse
org.opensearch.action.admin.cluster.node.liveness.LivenessResponse
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable

public final class LivenessResponse extends org.opensearch.core.action.ActionResponse
Transport level private response for the transport handler registered under "cluster:monitor/nodes/liveness"
Opensearch.internal:
  • 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
     
     
    LivenessResponse(org.opensearch.core.common.io.stream.StreamInput in)
     
  • Method Summary

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

    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

    • LivenessResponse

      public LivenessResponse()
    • LivenessResponse

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

      public LivenessResponse(ClusterName clusterName, DiscoveryNode node)
  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Throws:
      IOException
    • getClusterName

      public ClusterName getClusterName()
    • getDiscoveryNode

      public DiscoveryNode getDiscoveryNode()