Class Transport
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Transport
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Transport extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transport.Builder
Builder forTransport
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Transport>
_DESERIALIZER
Json deserializer forTransport
-
Constructor Summary
Constructors Constructor Description Transport(Transport.Builder builder)
Transport(java.util.function.Function<Transport.Builder,Transport.Builder> fn)
-
Method Summary
Modifier and Type Method Description long
rxCount()
Required - API name:rx_count
java.lang.String
rxSize()
Required - API name:rx_size
long
rxSizeInBytes()
Required - API name:rx_size_in_bytes
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
int
serverOpen()
Required - API name:server_open
protected static void
setupTransportDeserializer(DelegatingDeserializer<Transport.Builder> op)
long
txCount()
Required - API name:tx_count
java.lang.String
txSize()
Required - API name:tx_size
long
txSizeInBytes()
Required - API name:tx_size_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTransport
-
-
Constructor Details
-
Transport
-
Transport
-
-
Method Details
-
rxCount
public long rxCount()Required - API name:rx_count
-
rxSize
public java.lang.String rxSize()Required - API name:rx_size
-
rxSizeInBytes
public long rxSizeInBytes()Required - API name:rx_size_in_bytes
-
serverOpen
public int serverOpen()Required - API name:server_open
-
txCount
public long txCount()Required - API name:tx_count
-
txSize
public java.lang.String txSize()Required - API name:tx_size
-
txSizeInBytes
public long txSizeInBytes()Required - API name:tx_size_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTransportDeserializer
-