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 classClusterShardMetrics.BuilderBuilder forClusterShardMetrics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterShardMetrics>_DESERIALIZERJson 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 doubleavg()API name:avgdoublemax()API name:maxdoublemin()API name:minvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterShardMetricsDeserializer(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()API name:avg -
max
public double max()API name:max -
min
public double min()API name:min -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterShardMetricsDeserializer
protected static void setupClusterShardMetricsDeserializer(DelegatingDeserializer<ClusterShardMetrics.Builder> op)
-