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 named net/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics
intermediary net/minecraft/class_6523$class_6524
official bqr$a
named totalBytes
intermediary comp_28
official a
named bytesPerSecond
intermediary comp_29
official b
named count
intermediary comp_30
official c
named countPerSecond
intermediary comp_31
official d
named totalDuration
intermediary comp_32
official e
named topContributors
intermediary comp_33
official f
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
The field for thebytesPerSecond
record component.private final long
The field for thecount
record component.private final double
The field for thecountPerSecond
record component.The field for thetopContributors
record component.private final long
The field for thetotalBytes
record component.private final Duration
The field for thetotalDuration
record component. -
Constructor Summary
ConstructorDescriptionStatistics
(long long2, double double2, long long3, double double3, Duration duration, List<com.mojang.datafixers.util.Pair<String, Long>> list) -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of thebytesPerSecond
record component.long
count()
Returns the value of thecount
record component.double
Returns the value of thecountPerSecond
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thetopContributors
record component.final String
toString()
Returns a string representation of this record class.long
Returns the value of thetotalBytes
record component.Returns the value of thetotalDuration
record component.
-
Field Details
-
totalBytes
private final long totalBytesThe field for thetotalBytes
record component. -
bytesPerSecond
private final double bytesPerSecondThe field for thebytesPerSecond
record component. -
count
private final long countThe field for thecount
record component. -
countPerSecond
private final double countPerSecondThe field for thecountPerSecond
record component. -
totalDuration
The field for thetotalDuration
record component. -
topContributors
The field for thetopContributors
record component.
-
-
Constructor Details
-
Statistics
-
-
Method Details
-
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 '=='. -
totalBytes
public long totalBytes()Returns the value of thetotalBytes
record component.- Returns:
- the value of the
totalBytes
record component
-
bytesPerSecond
public double bytesPerSecond()Returns the value of thebytesPerSecond
record component.- Returns:
- the value of the
bytesPerSecond
record component
-
count
public long count()Returns the value of thecount
record component.- Returns:
- the value of the
count
record component
-
countPerSecond
public double countPerSecond()Returns the value of thecountPerSecond
record component.- Returns:
- the value of the
countPerSecond
record component
-
totalDuration
Returns the value of thetotalDuration
record component.- Returns:
- the value of the
totalDuration
record component
-
topContributors
Returns the value of thetopContributors
record component.- Returns:
- the value of the
topContributors
record component
-