Class CCSUsageTimeValue
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.CCSUsageTimeValue
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CCSUsageTimeValue>
Json deserializer forCCSUsageTimeValue
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
avg()
Required - The average time taken to execute a request, in milliseconds.final long
max()
Required - The maximum time taken to execute a request, in milliseconds.static CCSUsageTimeValue
final long
p90()
Required - The 90th percentile of the time taken to execute requests, in milliseconds.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()
-
Field Details
-
_DESERIALIZER
Json deserializer forCCSUsageTimeValue
-
-
Method Details
-
of
public static CCSUsageTimeValue of(Function<CCSUsageTimeValue.Builder, ObjectBuilder<CCSUsageTimeValue>> fn) -
max
public final long max()Required - The maximum time taken to execute a request, in milliseconds.API name:
max
-
avg
public final long avg()Required - The average time taken to execute a request, in milliseconds.API name:
avg
-
p90
public final long p90()Required - The 90th percentile of the time taken to execute requests, in milliseconds.API name:
p90
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCCSUsageTimeValueDeserializer
protected static void setupCCSUsageTimeValueDeserializer(ObjectDeserializer<CCSUsageTimeValue.Builder> op)
-