Class StatsResponseBase
java.lang.Object
co.elastic.clients.elasticsearch.nodes.NodesResponseBase
co.elastic.clients.elasticsearch.cluster.stats.StatsResponseBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
ClusterStatsResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatsResponseBase(StatsResponseBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal CCSStatsccs()Required - Cross-cluster statsfinal StringRequired - Name of the cluster, based on the cluster name setting.final StringRequired - Unique identifier for the cluster.final ClusterIndicesindices()Required - Contains statistics about indices with shards assigned to selected nodes.final ClusterNodesnodes()Required - Contains statistics about nodes selected by the request’s node filters.Required - Contains stats on repository feature usage exposed in cluster stats for telemetry.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends StatsResponseBase.AbstractBuilder<BuilderT>>
voidsetupStatsResponseBaseDeserializer(ObjectDeserializer<BuilderT> op) final ClusterSnapshotStatsRequired - Contains stats cluster snapshots.final HealthStatusstatus()Health status of the cluster, based on the state of its primary and replica shards.final longRequired - Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase
nodeStats, serialize, setupNodesResponseBaseDeserializer, toString
-
Constructor Details
-
StatsResponseBase
-
-
Method Details
-
clusterName
Required - Name of the cluster, based on the cluster name setting.API name:
cluster_name -
clusterUuid
Required - Unique identifier for the cluster.API name:
cluster_uuid -
indices
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
indices -
nodes
Required - Contains statistics about nodes selected by the request’s node filters.API name:
nodes -
repositories
Required - Contains stats on repository feature usage exposed in cluster stats for telemetry.API name:
repositories -
snapshots
Required - Contains stats cluster snapshots.API name:
snapshots -
status
Health status of the cluster, based on the state of its primary and replica shards.API name:
status -
timestamp
public final long timestamp()Required - Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.API name:
timestamp -
ccs
Required - Cross-cluster statsAPI name:
ccs -
serializeInternal
- Overrides:
serializeInternalin classNodesResponseBase
-
setupStatsResponseBaseDeserializer
protected static <BuilderT extends StatsResponseBase.AbstractBuilder<BuilderT>> void setupStatsResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)
-