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 awx$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 Details

    • totalBytes

      private final long totalBytes
      The field for the totalBytes record component.
    • bytesPerSecond

      private final double bytesPerSecond
      The field for the bytesPerSecond record component.
    • count

      private final long count
      The field for the count record component.
    • countPerSecond

      private final double countPerSecond
      The field for the countPerSecond record component.
    • totalDuration

      private final Duration totalDuration
      The field for the totalDuration record component.
    • topContributors

      private final List<com.mojang.datafixers.util.Pair<String,Long>> topContributors
      The field for the topContributors record component.
  • Constructor Details

    • Statistics

      public Statistics(long long2, double double2, long long3, double double3, Duration duration, List<com.mojang.datafixers.util.Pair<String,Long>> list)
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • totalBytes

      public long totalBytes()
      Returns the value of the totalBytes record component.
      Returns:
      the value of the totalBytes record component
    • bytesPerSecond

      public double bytesPerSecond()
      Returns the value of the bytesPerSecond record component.
      Returns:
      the value of the bytesPerSecond record component
    • count

      public long count()
      Returns the value of the count record component.
      Returns:
      the value of the count record component
    • countPerSecond

      public double countPerSecond()
      Returns the value of the countPerSecond record component.
      Returns:
      the value of the countPerSecond record component
    • totalDuration

      public Duration totalDuration()
      Returns the value of the totalDuration record component.
      Returns:
      the value of the totalDuration record component
    • topContributors

      public List<com.mojang.datafixers.util.Pair<String,Long>> topContributors()
      Returns the value of the topContributors record component.
      Returns:
      the value of the topContributors record component