Record Class FileIoSample.Statistics
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.FileIoSample.Statistics
- Record Components:
- totalBytes-
- bytesPerSecond-
- count-
- countPerSecond-
- totalDuration-
- topContributors-
- Enclosing class:
- FileIoSample
public static record FileIoSample.Statistics(long totalBytes, double bytesPerSecond, long count, double countPerSecond, Duration totalDuration, List<com.mojang.datafixers.util.Pair<String,Long>> topContributors)
extends Record 
- Mappings:
- Namespace - Name - official - bbi$a- intermediary - net/minecraft/class_6523$class_6524- named - net/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics- official - a- intermediary - comp_28- named - totalBytes- official - b- intermediary - comp_29- named - bytesPerSecond- official - c- intermediary - comp_30- named - count- official - d- intermediary - comp_31- named - countPerSecond- official - e- intermediary - comp_32- named - totalDuration- official - f- intermediary - comp_33- named - topContributors
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleThe field for thebytesPerSecondrecord component.private final longThe field for thecountrecord component.private final doubleThe field for thecountPerSecondrecord component.The field for thetopContributorsrecord component.private final longThe field for thetotalBytesrecord component.private final DurationThe field for thetotalDurationrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionStatistics(long long2, double double2, long long3, double double3, Duration duration, List<com.mojang.datafixers.util.Pair<String, Long>> list) 
- 
Method SummaryModifier and TypeMethodDescriptiondoubleReturns the value of thebytesPerSecondrecord component.longcount()Returns the value of thecountrecord component.doubleReturns the value of thecountPerSecondrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetopContributorsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalBytesrecord component.Returns the value of thetotalDurationrecord component.
- 
Field Details- 
totalBytesprivate final long totalBytesThe field for thetotalBytesrecord component.
- 
bytesPerSecondprivate final double bytesPerSecondThe field for thebytesPerSecondrecord component.
- 
countprivate final long countThe field for thecountrecord component.
- 
countPerSecondprivate final double countPerSecondThe field for thecountPerSecondrecord component.
- 
totalDurationThe field for thetotalDurationrecord component.
- 
topContributorsThe field for thetopContributorsrecord component.
 
- 
- 
Constructor Details- 
Statistics
 
- 
- 
Method Details- 
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 '=='.
- 
totalBytespublic long totalBytes()Returns the value of thetotalBytesrecord component.- Returns:
- the value of the totalBytesrecord component
 
- 
bytesPerSecondpublic double bytesPerSecond()Returns the value of thebytesPerSecondrecord component.- Returns:
- the value of the bytesPerSecondrecord component
 
- 
countpublic long count()Returns the value of thecountrecord component.- Returns:
- the value of the countrecord component
 
- 
countPerSecondpublic double countPerSecond()Returns the value of thecountPerSecondrecord component.- Returns:
- the value of the countPerSecondrecord component
 
- 
totalDurationReturns the value of thetotalDurationrecord component.- Returns:
- the value of the totalDurationrecord component
 
- 
topContributorsReturns the value of thetopContributorsrecord component.- Returns:
- the value of the topContributorsrecord component
 
 
-