Module org.elasticsearch.xcore
Record Class DataStreamFeatureSetUsage.DataStreamStats
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.core.datastreams.DataStreamFeatureSetUsage.DataStreamStats
- All Implemented Interfaces:
Writeable
- Enclosing class:
DataStreamFeatureSetUsage
public static record DataStreamFeatureSetUsage.DataStreamStats(long totalDataStreamCount, long indicesBehindDataStream, long failureStoreExplicitlyEnabledDataStreamCount, long failureStoreEffectivelyEnabledDataStreamCount, long failureStoreIndicesCount, long failuresLifecycleExplicitlyEnabledCount, long failuresLifecycleEffectivelyEnabledCount, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleDataRetentionStats, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleEffectiveRetentionStats, Map<String,DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats)
extends Record
implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionDataStreamStats(long totalDataStreamCount, long indicesBehindDataStream, long failureStoreExplicitlyEnabledDataStreamCount, long failureStoreEffectivelyEnabledDataStreamCount, long failureStoreIndicesCount, long failuresLifecycleExplicitlyEnabledCount, long failuresLifecycleEffectivelyEnabledCount, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleDataRetentionStats, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleEffectiveRetentionStats, Map<String, DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats) Creates an instance of aDataStreamStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailuresLifecycleDataRetentionStatsrecord component.longReturns the value of thefailuresLifecycleEffectivelyEnabledCountrecord component.Returns the value of thefailuresLifecycleEffectiveRetentionStatsrecord component.longReturns the value of thefailuresLifecycleExplicitlyEnabledCountrecord component.longReturns the value of thefailureStoreEffectivelyEnabledDataStreamCountrecord component.longReturns the value of thefailureStoreExplicitlyEnabledDataStreamCountrecord component.longReturns the value of thefailureStoreIndicesCountrecord component.Returns the value of theglobalRetentionStatsrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theindicesBehindDataStreamrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalDataStreamCountrecord component.voidwriteTo(StreamOutput out)
-
Constructor Details
-
DataStreamStats
- Throws:
IOException
-
DataStreamStats
public DataStreamStats(long totalDataStreamCount, long indicesBehindDataStream, long failureStoreExplicitlyEnabledDataStreamCount, long failureStoreEffectivelyEnabledDataStreamCount, long failureStoreIndicesCount, long failuresLifecycleExplicitlyEnabledCount, long failuresLifecycleEffectivelyEnabledCount, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleDataRetentionStats, DataStreamLifecycleFeatureSetUsage.RetentionStats failuresLifecycleEffectiveRetentionStats, Map<String, DataStreamLifecycleFeatureSetUsage.GlobalRetentionStats> globalRetentionStats) Creates an instance of aDataStreamStatsrecord class.- Parameters:
totalDataStreamCount- the value for thetotalDataStreamCountrecord componentindicesBehindDataStream- the value for theindicesBehindDataStreamrecord componentfailureStoreExplicitlyEnabledDataStreamCount- the value for thefailureStoreExplicitlyEnabledDataStreamCountrecord componentfailureStoreEffectivelyEnabledDataStreamCount- the value for thefailureStoreEffectivelyEnabledDataStreamCountrecord componentfailureStoreIndicesCount- the value for thefailureStoreIndicesCountrecord componentfailuresLifecycleExplicitlyEnabledCount- the value for thefailuresLifecycleExplicitlyEnabledCountrecord componentfailuresLifecycleEffectivelyEnabledCount- the value for thefailuresLifecycleEffectivelyEnabledCountrecord componentfailuresLifecycleDataRetentionStats- the value for thefailuresLifecycleDataRetentionStatsrecord componentfailuresLifecycleEffectiveRetentionStats- the value for thefailuresLifecycleEffectiveRetentionStatsrecord componentglobalRetentionStats- the value for theglobalRetentionStatsrecord component
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
totalDataStreamCount
public long totalDataStreamCount()Returns the value of thetotalDataStreamCountrecord component.- Returns:
- the value of the
totalDataStreamCountrecord component
-
indicesBehindDataStream
public long indicesBehindDataStream()Returns the value of theindicesBehindDataStreamrecord component.- Returns:
- the value of the
indicesBehindDataStreamrecord component
-
failureStoreExplicitlyEnabledDataStreamCount
public long failureStoreExplicitlyEnabledDataStreamCount()Returns the value of thefailureStoreExplicitlyEnabledDataStreamCountrecord component.- Returns:
- the value of the
failureStoreExplicitlyEnabledDataStreamCountrecord component
-
failureStoreEffectivelyEnabledDataStreamCount
public long failureStoreEffectivelyEnabledDataStreamCount()Returns the value of thefailureStoreEffectivelyEnabledDataStreamCountrecord component.- Returns:
- the value of the
failureStoreEffectivelyEnabledDataStreamCountrecord component
-
failureStoreIndicesCount
public long failureStoreIndicesCount()Returns the value of thefailureStoreIndicesCountrecord component.- Returns:
- the value of the
failureStoreIndicesCountrecord component
-
failuresLifecycleExplicitlyEnabledCount
public long failuresLifecycleExplicitlyEnabledCount()Returns the value of thefailuresLifecycleExplicitlyEnabledCountrecord component.- Returns:
- the value of the
failuresLifecycleExplicitlyEnabledCountrecord component
-
failuresLifecycleEffectivelyEnabledCount
public long failuresLifecycleEffectivelyEnabledCount()Returns the value of thefailuresLifecycleEffectivelyEnabledCountrecord component.- Returns:
- the value of the
failuresLifecycleEffectivelyEnabledCountrecord component
-
failuresLifecycleDataRetentionStats
Returns the value of thefailuresLifecycleDataRetentionStatsrecord component.- Returns:
- the value of the
failuresLifecycleDataRetentionStatsrecord component
-
failuresLifecycleEffectiveRetentionStats
Returns the value of thefailuresLifecycleEffectiveRetentionStatsrecord component.- Returns:
- the value of the
failuresLifecycleEffectiveRetentionStatsrecord component
-
globalRetentionStats
Returns the value of theglobalRetentionStatsrecord component.- Returns:
- the value of the
globalRetentionStatsrecord component
-