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
ConstructorsConstructorDescriptionMux(long received, long rejected, long agents, long mappedTuples, long pendingRequests, long notifications, long duplicates) Creates an instance of aMuxrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongagents()Returns the value of theagentsrecord component.longReturns the value of theduplicatesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of themappedTuplesrecord component.longReturns the value of thenotificationsrecord component.longReturns the value of thependingRequestsrecord component.longreceived()Returns the value of thereceivedrecord component.longrejected()Returns the value of therejectedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Mux
public Mux(long received, long rejected, long agents, long mappedTuples, long pendingRequests, long notifications, long duplicates) Creates an instance of aMuxrecord class.- Parameters:
received- the value for thereceivedrecord componentrejected- the value for therejectedrecord componentagents- the value for theagentsrecord componentmappedTuples- the value for themappedTuplesrecord componentpendingRequests- the value for thependingRequestsrecord componentnotifications- the value for thenotificationsrecord componentduplicates- the value for theduplicatesrecord component
-
-
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. All components in this record class are compared with '=='. -
received
public long received()Returns the value of thereceivedrecord component.- Returns:
- the value of the
receivedrecord component
-
rejected
public long rejected()Returns the value of therejectedrecord component.- Returns:
- the value of the
rejectedrecord component
-
agents
public long agents()Returns the value of theagentsrecord component.- Returns:
- the value of the
agentsrecord component
-
mappedTuples
public long mappedTuples()Returns the value of themappedTuplesrecord component.- Returns:
- the value of the
mappedTuplesrecord component
-
pendingRequests
public long pendingRequests()Returns the value of thependingRequestsrecord component.- Returns:
- the value of the
pendingRequestsrecord component
-
notifications
public long notifications()Returns the value of thenotificationsrecord component.- Returns:
- the value of the
notificationsrecord component
-
duplicates
public long duplicates()Returns the value of theduplicatesrecord component.- Returns:
- the value of the
duplicatesrecord component
-