Class Transport.Builder
- All Implemented Interfaces:
WithJson<Transport.Builder>
,ObjectBuilder<Transport>
- Enclosing class:
- Transport
Transport
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aTransport
.final Transport.Builder
inboundHandlingTimeHistogram
(TransportHistogram value, TransportHistogram... values) The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.final Transport.Builder
inboundHandlingTimeHistogram
(Function<TransportHistogram.Builder, ObjectBuilder<TransportHistogram>> fn) The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.final Transport.Builder
The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.final Transport.Builder
outboundHandlingTimeHistogram
(TransportHistogram value, TransportHistogram... values) The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.final Transport.Builder
outboundHandlingTimeHistogram
(Function<TransportHistogram.Builder, ObjectBuilder<TransportHistogram>> fn) The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.final Transport.Builder
The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.final Transport.Builder
Total number of RX (receive) packets received by the node during internal cluster communication.final Transport.Builder
Size of RX packets received by the node during internal cluster communication.final Transport.Builder
rxSizeInBytes
(Long value) Size, in bytes, of RX packets received by the node during internal cluster communication.protected Transport.Builder
self()
final Transport.Builder
serverOpen
(Integer value) Current number of inbound TCP connections used for internal communication between nodes.final Transport.Builder
totalOutboundConnections
(Long value) The cumulative number of outbound transport connections that this node has opened since it started.final Transport.Builder
Total number of TX (transmit) packets sent by the node during internal cluster communication.final Transport.Builder
Size of TX packets sent by the node during internal cluster communication.final Transport.Builder
txSizeInBytes
(Long value) Size, in bytes, of TX packets sent by the node during internal cluster communication.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
Adds all elements of
list
toinboundHandlingTimeHistogram
. -
inboundHandlingTimeHistogram
public final Transport.Builder inboundHandlingTimeHistogram(TransportHistogram value, TransportHistogram... values) The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.API name:
inbound_handling_time_histogram
Adds one or more values to
inboundHandlingTimeHistogram
. -
inboundHandlingTimeHistogram
public final Transport.Builder inboundHandlingTimeHistogram(Function<TransportHistogram.Builder, ObjectBuilder<TransportHistogram>> fn) The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.API name:
inbound_handling_time_histogram
Adds a value to
inboundHandlingTimeHistogram
using a builder lambda. -
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
Adds all elements of
list
tooutboundHandlingTimeHistogram
. -
outboundHandlingTimeHistogram
public final Transport.Builder outboundHandlingTimeHistogram(TransportHistogram value, TransportHistogram... values) 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
Adds one or more values to
outboundHandlingTimeHistogram
. -
outboundHandlingTimeHistogram
public final Transport.Builder outboundHandlingTimeHistogram(Function<TransportHistogram.Builder, ObjectBuilder<TransportHistogram>> fn) 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
Adds a value to
outboundHandlingTimeHistogram
using a builder lambda. -
rxCount
Total number of RX (receive) packets received by the node during internal cluster communication.API name:
rx_count
-
rxSize
Size of RX packets received by the node during internal cluster communication.API name:
rx_size
-
rxSizeInBytes
Size, in bytes, of RX packets received by the node during internal cluster communication.API name:
rx_size_in_bytes
-
serverOpen
Current number of inbound TCP connections used for internal communication between nodes.API name:
server_open
-
txCount
Total number of TX (transmit) packets sent by the node during internal cluster communication.API name:
tx_count
-
txSize
Size of TX packets sent by the node during internal cluster communication.API name:
tx_size
-
txSizeInBytes
Size, in bytes, of TX packets sent by the node during internal cluster communication.API name:
tx_size_in_bytes
-
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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Transport.Builder>
-
build
Builds aTransport
.- Specified by:
build
in interfaceObjectBuilder<Transport>
- Throws:
NullPointerException
- if some of the required fields are null.
-