Class DataStreamLifecycleUsage
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.Base
co.elastic.clients.elasticsearch.xpack.usage.DataStreamLifecycleUsage
- All Implemented Interfaces:
JsonpSerializable
Usage statistics for data stream lifecycle (DLM), reported by
_xpack/usage under data_lifecycle. Besides
available and enabled, all the following statistics
are only present when the feature is enabled.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base
Base.AbstractBuilder<BuilderT extends Base.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamLifecycleUsage>Json deserializer forDataStreamLifecycleUsage -
Method Summary
Modifier and TypeMethodDescriptionfinal Longcount()The number of data streams that have a lifecycle configured.Statistics about the explicitly configured data retention across data streams.final BooleanWhether the default rollover configuration is used by at least one data stream.Statistics about the effective retention (configured or derived from global retention) across data streams.Statistics about the configuredfrozen_after(searchable snapshot) tier threshold across data streams.Statistics about the cluster's global default and maximum retention settings.static DataStreamLifecycleUsagerebuild()protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamLifecycleUsage
-
-
Method Details
-
of
public static DataStreamLifecycleUsage of(Function<DataStreamLifecycleUsage.Builder, ObjectBuilder<DataStreamLifecycleUsage>> fn) -
count
The number of data streams that have a lifecycle configured.API name:
count -
defaultRolloverUsed
Whether the default rollover configuration is used by at least one data stream.API name:
default_rollover_used -
dataRetention
Statistics about the explicitly configured data retention across data streams.API name:
data_retention -
effectiveRetention
Statistics about the effective retention (configured or derived from global retention) across data streams.API name:
effective_retention -
frozenAfter
Statistics about the configuredfrozen_after(searchable snapshot) tier threshold across data streams.API name:
frozen_after -
globalRetention
Statistics about the cluster's global default and maximum retention settings.API name:
global_retention -
serializeInternal
- Overrides:
serializeInternalin classBase
-
rebuild
- Returns:
- New
DataStreamLifecycleUsage.Builderinitialized with field values of this instance
-
setupDataStreamLifecycleUsageDeserializer
protected static void setupDataStreamLifecycleUsageDeserializer(ObjectDeserializer<DataStreamLifecycleUsage.Builder> op)
-