Module org.elasticsearch.xcore
Class DataStreamLifecycleFeatureSetUsage.LifecycleStats
java.lang.Object
org.elasticsearch.xpack.core.datastreams.DataStreamLifecycleFeatureSetUsage.LifecycleStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
- Enclosing class:
DataStreamLifecycleFeatureSetUsage
public static class DataStreamLifecycleFeatureSetUsage.LifecycleStats
extends Object
implements Writeable, ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final DataStreamLifecycleFeatureSetUsage.LifecycleStatsstatic final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionLifecycleStats(long dataStreamsWithLifecyclesCount, boolean defaultRolloverUsed, DataStreamLifecycleFeatureSetUsage.TimeThresholdStats dataRetentionStats, DataStreamLifecycleFeatureSetUsage.TimeThresholdStats effectiveRetentionStats, DataStreamLifecycleFeatureSetUsage.TimeThresholdStats frozenAfterStats, Map<String, DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()read(StreamInput in) toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
INITIAL
-
DEFAULT_RETENTION_FIELD_NAME
- See Also:
-
MAX_RETENTION_FIELD_NAME
- See Also:
-
-
Constructor Details
-
LifecycleStats
public LifecycleStats(long dataStreamsWithLifecyclesCount, boolean defaultRolloverUsed, DataStreamLifecycleFeatureSetUsage.TimeThresholdStats dataRetentionStats, DataStreamLifecycleFeatureSetUsage.TimeThresholdStats effectiveRetentionStats, @Nullable DataStreamLifecycleFeatureSetUsage.TimeThresholdStats frozenAfterStats, Map<String, DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats)
-
-
Method Details
-
read
public static DataStreamLifecycleFeatureSetUsage.LifecycleStats read(StreamInput in) throws IOException - Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-