Record Class NativeAdmissionServerChannel.Stats.Mux

java.lang.Object
java.lang.Record
org.cloudburstmc.netty.signaling.admission.NativeAdmissionServerChannel.Stats.Mux
Enclosing class:
NativeAdmissionServerChannel.Stats

public static record NativeAdmissionServerChannel.Stats.Mux(long received, long rejected, long agents, long mappedTuples, long pendingRequests, long notifications, long duplicates) extends Record
Native UDP mux counters.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Mux(long received, long rejected, long agents, long mappedTuples, long pendingRequests, long notifications, long duplicates)
    Creates an instance of a Mux record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the agents record component.
    long
    Returns the value of the duplicates record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the mappedTuples record component.
    long
    Returns the value of the notifications record component.
    long
    Returns the value of the pendingRequests record component.
    long
    Returns the value of the received record component.
    long
    Returns the value of the rejected record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Mux

      public Mux(long received, long rejected, long agents, long mappedTuples, long pendingRequests, long notifications, long duplicates)
      Creates an instance of a Mux record class.
      Parameters:
      received - the value for the received record component
      rejected - the value for the rejected record component
      agents - the value for the agents record component
      mappedTuples - the value for the mappedTuples record component
      pendingRequests - the value for the pendingRequests record component
      notifications - the value for the notifications record component
      duplicates - the value for the duplicates record component
  • 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. All components in this record class 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.
    • received

      public long received()
      Returns the value of the received record component.
      Returns:
      the value of the received record component
    • rejected

      public long rejected()
      Returns the value of the rejected record component.
      Returns:
      the value of the rejected record component
    • agents

      public long agents()
      Returns the value of the agents record component.
      Returns:
      the value of the agents record component
    • mappedTuples

      public long mappedTuples()
      Returns the value of the mappedTuples record component.
      Returns:
      the value of the mappedTuples record component
    • pendingRequests

      public long pendingRequests()
      Returns the value of the pendingRequests record component.
      Returns:
      the value of the pendingRequests record component
    • notifications

      public long notifications()
      Returns the value of the notifications record component.
      Returns:
      the value of the notifications record component
    • duplicates

      public long duplicates()
      Returns the value of the duplicates record component.
      Returns:
      the value of the duplicates record component