Class CoordinatorStats
java.lang.Object
co.elastic.clients.elasticsearch.enrich.stats.CoordinatorStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CoordinatorStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoordinatorStats.Builder
Builder forCoordinatorStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CoordinatorStats>
_DESERIALIZER
Json deserializer forCoordinatorStats
-
Method Summary
Modifier and Type Method Description long
executedSearchesTotal()
Required - API name:executed_searches_total
java.lang.String
nodeId()
Required - API name:node_id
static CoordinatorStats
of(java.util.function.Function<CoordinatorStats.Builder,ObjectBuilder<CoordinatorStats>> fn)
int
queueSize()
Required - API name:queue_size
int
remoteRequestsCurrent()
Required - API name:remote_requests_current
long
remoteRequestsTotal()
Required - API name:remote_requests_total
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
setupCoordinatorStatsDeserializer(ObjectDeserializer<CoordinatorStats.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCoordinatorStats
-
-
Method Details
-
of
public static CoordinatorStats of(java.util.function.Function<CoordinatorStats.Builder,ObjectBuilder<CoordinatorStats>> fn) -
executedSearchesTotal
public final long executedSearchesTotal()Required - API name:executed_searches_total
-
nodeId
public final java.lang.String nodeId()Required - API name:node_id
-
queueSize
public final int queueSize()Required - API name:queue_size
-
remoteRequestsCurrent
public final int remoteRequestsCurrent()Required - API name:remote_requests_current
-
remoteRequestsTotal
public final long remoteRequestsTotal()Required - API name:remote_requests_total
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupCoordinatorStatsDeserializer
protected static void setupCoordinatorStatsDeserializer(ObjectDeserializer<CoordinatorStats.Builder> op)
-