Class Transport.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.Transport.Builder
- All Implemented Interfaces:
CopyableBuilder<Transport.Builder,,Transport> MutableBuilder<Transport.Builder,,Transport> ObjectBuilder<Transport>
- Enclosing class:
Transport
public static class Transport.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Transport.Builder,Transport>
Builder for
Transport.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTransport.copy()Create a new builderCopyableBuilderthat is a copy of this one.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.final Transport.BuilderserverOpen(Long 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 org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<Transport.Builder,Transport> - Returns:
- a new builder instance.
-
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 -
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
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 -
build
Builds aTransport.- Specified by:
buildin interfaceObjectBuilder<Transport>- Throws:
NullPointerException- if some of the required fields are null.
-