Class BaseNodeResponse

java.lang.Object
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted
Direct Known Subclasses:
ClusterStatsNodeResponse, NodeFindDanglingIndexResponse, NodeHotThreads, NodeInfo, NodeListDanglingIndicesResponse, NodesReloadSecureSettingsResponse.NodeResponse, NodeStats, NodeUsage, TransportNodesListGatewayMetaState.NodeGatewayMetaState, TransportNodesListGatewayStartedShards.NodeGatewayStartedShards, TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata, TransportNodesSnapshotsStatus.NodeSnapshotStatus

public abstract class BaseNodeResponse
extends TransportResponse
A base class for node level operations.
  • Constructor Details

    • BaseNodeResponse

      protected BaseNodeResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • BaseNodeResponse

      protected BaseNodeResponse​(DiscoveryNode node)
  • Method Details

    • getNode

      public DiscoveryNode getNode()
      The node this information relates to.
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Throws:
      java.io.IOException