Record Class GcHeapSummarySample.Statistics
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.GcHeapSummarySample.Statistics
- Record Components:
- duration-
- gcDuration-
- count-
- allocatedBytesPerSecond-
- Enclosing class:
- GcHeapSummarySample
public static record GcHeapSummarySample.Statistics(Duration duration, Duration gcDuration, int count, double allocatedBytesPerSecond)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/util/profiling/jfr/sample/GcHeapSummarySample$Statistics- intermediary - net/minecraft/class_6525$class_6526- official - bpu$a- named - duration- intermediary - comp_37- official - a- named - gcDuration- intermediary - comp_38- official - b- named - count- intermediary - comp_39- official - c- named - allocatedBytesPerSecond- intermediary - comp_40- official - d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleThe field for theallocatedBytesPerSecondrecord component.private final intThe field for thecountrecord component.private final DurationThe field for thedurationrecord component.private final DurationThe field for thegcDurationrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleReturns the value of theallocatedBytesPerSecondrecord component.intcount()Returns the value of thecountrecord component.duration()Returns the value of thedurationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegcDurationrecord component.floatfinal inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
durationThe field for thedurationrecord component.
- 
gcDurationThe field for thegcDurationrecord component.
- 
countprivate final int countThe field for thecountrecord component.
- 
allocatedBytesPerSecondprivate final double allocatedBytesPerSecondThe field for theallocatedBytesPerSecondrecord component.
 
- 
- 
Constructor Details- 
Statistics
 
- 
- 
Method Details- 
getGcDurationRatiopublic float getGcDurationRatio()- Mappings:
- Namespace - Name - Mixin selector - named - getGcDurationRatio- Lnet/minecraft/util/profiling/jfr/sample/GcHeapSummarySample$Statistics;getGcDurationRatio()F- intermediary - method_38043- Lnet/minecraft/class_6525$class_6526;method_38043()F- official - a- Lbpu$a;a()F
 
- 
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 '=='.
- 
durationReturns the value of thedurationrecord component.- Returns:
- the value of the durationrecord component
 
- 
gcDurationReturns the value of thegcDurationrecord component.- Returns:
- the value of the gcDurationrecord component
 
- 
countpublic int count()Returns the value of thecountrecord component.- Returns:
- the value of the countrecord component
 
- 
allocatedBytesPerSecondpublic double allocatedBytesPerSecond()Returns the value of theallocatedBytesPerSecondrecord component.- Returns:
- the value of the allocatedBytesPerSecondrecord component
 
 
-