Class NetworkIoStatistics

java.lang.Object
net.minecraft.util.profiling.jfr.sample.NetworkIoStatistics

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

    • combinedStatistics

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

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

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

    • NetworkIoStatistics

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

    • getCountPerSecond

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

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

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

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

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