Module org.elasticsearch.xcore
Class DataStreamLifecycleFeatureSetUsage.LifecycleStats
java.lang.Object
org.elasticsearch.xpack.core.datastreams.DataStreamLifecycleFeatureSetUsage.LifecycleStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentFragment
- Enclosing class:
DataStreamLifecycleFeatureSetUsage
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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.RetentionStats dataRetentionStats, DataStreamLifecycleFeatureSetUsage.RetentionStats effectiveRetentionStats, Map<String, DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()read(StreamInput in) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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.RetentionStats dataRetentionStats, DataStreamLifecycleFeatureSetUsage.RetentionStats effectiveRetentionStats, 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 org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-