Record Class ProxyWebsocketBackpressureEvent
java.lang.Object
java.lang.Record
io.fluxzero.proxy.ProxyWebsocketBackpressureEvent
-
Constructor Summary
ConstructorsConstructorDescriptionProxyWebsocketBackpressureEvent(String sessionId, String clientId, String trackerId, String namespace, int pendingSends, int maxPendingSends) Creates an instance of aProxyWebsocketBackpressureEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Returns the value of theclientIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxPendingSendsrecord component.Returns the value of thenamespacerecord component.intReturns the value of thependingSendsrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrackerIdrecord component.
-
Constructor Details
-
ProxyWebsocketBackpressureEvent
public ProxyWebsocketBackpressureEvent(String sessionId, String clientId, String trackerId, String namespace, int pendingSends, int maxPendingSends) Creates an instance of aProxyWebsocketBackpressureEventrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentclientId- the value for theclientIdrecord componenttrackerId- the value for thetrackerIdrecord componentnamespace- the value for thenamespacerecord componentpendingSends- the value for thependingSendsrecord componentmaxPendingSends- the value for themaxPendingSendsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
trackerId
Returns the value of thetrackerIdrecord component.- Returns:
- the value of the
trackerIdrecord component
-
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
pendingSends
public int pendingSends()Returns the value of thependingSendsrecord component.- Returns:
- the value of the
pendingSendsrecord component
-
maxPendingSends
public int maxPendingSends()Returns the value of themaxPendingSendsrecord component.- Returns:
- the value of the
maxPendingSendsrecord component
-