Record Class LongRunningSampleStatistics<T extends LongRunningSample>
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.LongRunningSampleStatistics<T>
- Record Components:
- fastestSample-
- slowestSample-
- secondSlowestSample-
- count-
- quantiles-
- totalDuration-
public record LongRunningSampleStatistics<T extends LongRunningSample>(T extends LongRunningSample fastestSample, T extends LongRunningSample slowestSample, T extends LongRunningSample secondSlowestSample, int count, Map<Integer,Double> quantiles, Duration totalDuration)
extends Record 
- Mappings:
- Namespace - Name - official - bbp- intermediary - net/minecraft/class_6535- named - net/minecraft/util/profiling/jfr/sample/LongRunningSampleStatistics- official - a- intermediary - comp_54- named - fastestSample- official - b- intermediary - comp_55- named - slowestSample- official - c- intermediary - comp_56- named - secondSlowestSample- official - d- intermediary - comp_57- named - count- official - e- intermediary - comp_58- named - quantiles- official - f- intermediary - comp_59- named - totalDuration
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for thecountrecord component.private final TThe field for thefastestSamplerecord component.The field for thequantilesrecord component.private final TThe field for thesecondSlowestSamplerecord component.private final TThe field for theslowestSamplerecord component.private final DurationThe field for thetotalDurationrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefastestSamplerecord component.static <T extends LongRunningSample>
 LongRunningSampleStatistics<T>fromSamples(List<T> samples) final inthashCode()Returns a hash code value for this object.Returns the value of thequantilesrecord component.Returns the value of thesecondSlowestSamplerecord component.Returns the value of theslowestSamplerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalDurationrecord component.
- 
Field Details- 
fastestSampleThe field for thefastestSamplerecord component.
- 
slowestSampleThe field for theslowestSamplerecord component.
- 
secondSlowestSampleThe field for thesecondSlowestSamplerecord component.
- 
countprivate final int countThe field for thecountrecord component.
- 
quantilesThe field for thequantilesrecord component.
- 
totalDurationThe field for thetotalDurationrecord component.
 
- 
- 
Constructor Details- 
LongRunningSampleStatistics
 
- 
- 
Method Details- 
fromSamplespublic static <T extends LongRunningSample> LongRunningSampleStatistics<T> fromSamples(List<T> samples) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbbp;a(Ljava/util/List;)Lbbp;- intermediary - method_38060- Lnet/minecraft/class_6535;method_38060(Ljava/util/List;)Lnet/minecraft/class_6535;- named - fromSamples- Lnet/minecraft/util/profiling/jfr/sample/LongRunningSampleStatistics;fromSamples(Ljava/util/List;)Lnet/minecraft/util/profiling/jfr/sample/LongRunningSampleStatistics;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
fastestSampleReturns the value of thefastestSamplerecord component.- Returns:
- the value of the fastestSamplerecord component
 
- 
slowestSampleReturns the value of theslowestSamplerecord component.- Returns:
- the value of the slowestSamplerecord component
 
- 
secondSlowestSampleReturns the value of thesecondSlowestSamplerecord component.- Returns:
- the value of the secondSlowestSamplerecord component
 
- 
countpublic int count()Returns the value of thecountrecord component.- Returns:
- the value of the countrecord component
 
- 
quantilesReturns the value of thequantilesrecord component.- Returns:
- the value of the quantilesrecord component
 
- 
totalDurationReturns the value of thetotalDurationrecord component.- Returns:
- the value of the totalDurationrecord component
 
 
-