Class Client
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Client
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Client>
Json deserializer forClient
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
agent()
Reported agent for the HTTP client.final Long
Time at which the client closed the connection if the connection is closed.final Long
id()
Unique ID for the HTTP client.final Long
Time of the most recent request from this client.final String
lastUri()
The URI of the client’s most recent request.final String
Local address for the HTTP connection.static Client
final Long
Time at which the client opened the connection.final String
Remote address for the HTTP connection.final Long
Number of requests from this client.final Long
Cumulative size in bytes of all requests from this client.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
Value from the client’sx-opaque-id
HTTP header.
-
Field Details
-
_DESERIALIZER
Json deserializer forClient
-
-
Method Details
-
of
-
id
Unique ID for the HTTP client.API name:
id
-
agent
Reported agent for the HTTP client. If unavailable, this property is not included in the response.API name:
agent
-
localAddress
Local address for the HTTP connection.API name:
local_address
-
remoteAddress
Remote address for the HTTP connection.API name:
remote_address
-
lastUri
The URI of the client’s most recent request.API name:
last_uri
-
openedTimeMillis
Time at which the client opened the connection.API name:
opened_time_millis
-
closedTimeMillis
Time at which the client closed the connection if the connection is closed.API name:
closed_time_millis
-
lastRequestTimeMillis
Time of the most recent request from this client.API name:
last_request_time_millis
-
requestCount
Number of requests from this client.API name:
request_count
-
requestSizeBytes
Cumulative size in bytes of all requests from this client.API name:
request_size_bytes
-
xOpaqueId
Value from the client’sx-opaque-id
HTTP header. If unavailable, this property is not included in the response.API name:
x_opaque_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClientDeserializer
-