Class Transport.Builder
- All Implemented Interfaces:
WithJson<Transport.Builder>,ObjectBuilder<Transport>
- Enclosing class:
- Transport
Transport.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTransport.final Transport.BuilderinboundHandlingTimeHistogram(TransportHistogram value, TransportHistogram... values) The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.final Transport.BuilderinboundHandlingTimeHistogram(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.BuilderThe distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.final Transport.BuilderoutboundHandlingTimeHistogram(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.BuilderoutboundHandlingTimeHistogram(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.BuilderThe distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.final Transport.BuilderTotal number of RX (receive) packets received by the node during internal cluster communication.final Transport.BuilderSize of RX packets received by the node during internal cluster communication.final Transport.BuilderrxSizeInBytes(Long value) Size, in bytes, of RX packets received by the node during internal cluster communication.protected Transport.Builderself()final Transport.BuilderserverOpen(Integer value) Current number of inbound TCP connections used for internal communication between nodes.final Transport.BuildertotalOutboundConnections(Long value) The cumulative number of outbound transport connections that this node has opened since it started.final Transport.BuilderTotal number of TX (transmit) packets sent by the node during internal cluster communication.final Transport.BuilderSize of TX packets sent by the node during internal cluster communication.final Transport.BuildertxSizeInBytes(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
withJsonMethods 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_histogramAdds all elements of
listtoinboundHandlingTimeHistogram. -
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_histogramAdds 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_histogramAdds a value to
inboundHandlingTimeHistogramusing 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_histogramAdds all elements of
listtooutboundHandlingTimeHistogram. -
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_histogramAdds 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_histogramAdds a value to
outboundHandlingTimeHistogramusing 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:
selfin classWithJsonObjectBuilderBase<Transport.Builder>
-
build
Builds aTransport.- Specified by:
buildin interfaceObjectBuilder<Transport>- Throws:
NullPointerException- if some of the required fields are null.
-