Class ClusterShardMetrics
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterShardMetrics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ClusterShardMetrics extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterShardMetrics.Builder
Builder forClusterShardMetrics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterShardMetrics>
_DESERIALIZER
Json deserializer forClusterShardMetrics
-
Constructor Summary
Constructors Constructor Description ClusterShardMetrics(ClusterShardMetrics.Builder builder)
ClusterShardMetrics(java.util.function.Function<ClusterShardMetrics.Builder,ClusterShardMetrics.Builder> fn)
-
Method Summary
Modifier and Type Method Description double
avg()
Required - API name:avg
double
max()
Required - API name:max
double
min()
Required - API name:min
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
setupClusterShardMetricsDeserializer(DelegatingDeserializer<ClusterShardMetrics.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterShardMetrics
-
-
Constructor Details
-
ClusterShardMetrics
-
ClusterShardMetrics
public ClusterShardMetrics(java.util.function.Function<ClusterShardMetrics.Builder,ClusterShardMetrics.Builder> fn)
-
-
Method Details
-
avg
public double avg()Required - API name:avg
-
max
public double max()Required - API name:max
-
min
public double min()Required - API name:min
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupClusterShardMetricsDeserializer
protected static void setupClusterShardMetricsDeserializer(DelegatingDeserializer<ClusterShardMetrics.Builder> op)
-