Class NetworkIoStatistics<T>

java.lang.Object
net.minecraft.util.profiling.jfr.sample.NetworkIoStatistics<T>

public final class NetworkIoStatistics<T> extends Object
Mappings:
Namespace Name
named net/minecraft/util/profiling/jfr/sample/NetworkIoStatistics
intermediary net/minecraft/class_6767
official bqt
  • Field Details

    • combinedStatistics

      private final NetworkIoStatistics.PacketStatistics combinedStatistics
      Mappings:
      Namespace Name Mixin selector
      named combinedStatistics Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;combinedStatistics:Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics$PacketStatistics;
      intermediary field_35583 Lnet/minecraft/class_6767;field_35583:Lnet/minecraft/class_6767$class_6768;
      official a Lbqt;a:Lbqt$a;
    • topContributors

      private final List<com.mojang.datafixers.util.Pair<T,NetworkIoStatistics.PacketStatistics>> topContributors
      Mappings:
      Namespace Name Mixin selector
      named topContributors Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;topContributors:Ljava/util/List;
      intermediary field_35584 Lnet/minecraft/class_6767;field_35584:Ljava/util/List;
      official b Lbqt;b:Ljava/util/List;
    • duration

      private final Duration duration
      Mappings:
      Namespace Name Mixin selector
      named duration Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;duration:Ljava/time/Duration;
      intermediary field_35585 Lnet/minecraft/class_6767;field_35585:Ljava/time/Duration;
      official c Lbqt;c:Ljava/time/Duration;
  • Constructor Details

    • NetworkIoStatistics

      public NetworkIoStatistics(Duration duration, List<com.mojang.datafixers.util.Pair<T,NetworkIoStatistics.PacketStatistics>> packetsToStatistics)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;<init>(Ljava/time/Duration;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6767;<init>(Ljava/time/Duration;Ljava/util/List;)V
      official <init> Lbqt;<init>(Ljava/time/Duration;Ljava/util/List;)V
  • Method Details

    • getCountPerSecond

      public double getCountPerSecond()
      Mappings:
      Namespace Name Mixin selector
      named getCountPerSecond Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getCountPerSecond()D
      intermediary method_39438 Lnet/minecraft/class_6767;method_39438()D
      official a Lbqt;a()D
    • getBytesPerSecond

      public double getBytesPerSecond()
      Mappings:
      Namespace Name Mixin selector
      named getBytesPerSecond Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getBytesPerSecond()D
      intermediary method_39439 Lnet/minecraft/class_6767;method_39439()D
      official b Lbqt;b()D
    • getTotalCount

      public long getTotalCount()
      Mappings:
      Namespace Name Mixin selector
      named getTotalCount Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTotalCount()J
      intermediary method_39440 Lnet/minecraft/class_6767;method_39440()J
      official c Lbqt;c()J
    • getTotalSize

      public long getTotalSize()
      Mappings:
      Namespace Name Mixin selector
      named getTotalSize Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTotalSize()J
      intermediary method_39441 Lnet/minecraft/class_6767;method_39441()J
      official d Lbqt;d()J
    • getTopContributors

      public List<com.mojang.datafixers.util.Pair<T,NetworkIoStatistics.PacketStatistics>> getTopContributors()
      Mappings:
      Namespace Name Mixin selector
      named getTopContributors Lnet/minecraft/util/profiling/jfr/sample/NetworkIoStatistics;getTopContributors()Ljava/util/List;
      intermediary method_39442 Lnet/minecraft/class_6767;method_39442()Ljava/util/List;
      official e Lbqt;e()Ljava/util/List;