Class Transport

java.lang.Object
co.elastic.clients.elasticsearch.nodes.Transport
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Transport extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • inboundHandlingTimeHistogram

      public final List<TransportHistogram> inboundHandlingTimeHistogram()
      The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.

      API name: inbound_handling_time_histogram

    • outboundHandlingTimeHistogram

      public final List<TransportHistogram> outboundHandlingTimeHistogram()
      The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.

      API name: outbound_handling_time_histogram

    • 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 Integer serverOpen()
      Current number of inbound TCP connections used for internal communication between nodes.

      API name: server_open

    • 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

    • 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

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupTransportDeserializer

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