java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Transport
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<Transport.Builder,Transport>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class Transport extends Object implements PlainJsonSerializable, ToCopyableBuilder<Transport.Builder,Transport>
  • Field Details

  • Method Details

    • of

    • rxCount

      @Nullable public final Long rxCount()
      Total number of RX (receive) packets received by the node during internal cluster communication.

      API name: rx_count

    • rxSize

      @Nullable public final String rxSize()
      Size of RX packets received by the node during internal cluster communication.

      API name: rx_size

    • rxSizeInBytes

      @Nullable public final Long rxSizeInBytes()
      Size, in bytes, of RX packets received by the node during internal cluster communication.

      API name: rx_size_in_bytes

    • serverOpen

      @Nullable public final Long serverOpen()
      Current number of inbound TCP connections used for internal communication between nodes.

      API name: server_open

    • totalOutboundConnections

      @Nullable public final Long totalOutboundConnections()
      The cumulative number of outbound transport connections that this node has opened since it started. Each transport connection may comprise multiple TCP connections but is only counted once in this statistic. Transport connections are typically long-lived so this statistic should remain constant in a stable cluster.

      API name: total_outbound_connections

    • txCount

      @Nullable public final Long txCount()
      Total number of TX (transmit) packets sent by the node during internal cluster communication.

      API name: tx_count

    • txSize

      @Nullable public final String txSize()
      Size of TX packets sent by the node during internal cluster communication.

      API name: tx_size

    • txSizeInBytes

      @Nullable public final Long txSizeInBytes()
      Size, in bytes, of TX packets sent by the node during internal cluster communication.

      API name: tx_size_in_bytes

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public Transport.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<Transport.Builder,Transport>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static Transport.Builder builder()
    • setupTransportDeserializer

      protected static void setupTransportDeserializer(ObjectDeserializer<Transport.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object