private class SubProtocolWebSocketHandler.Stats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicInteger |
httpPolling |
private java.util.concurrent.atomic.AtomicInteger |
httpStreaming |
private java.util.concurrent.atomic.AtomicInteger |
limitExceeded |
private java.util.concurrent.atomic.AtomicInteger |
noMessagesReceived |
private java.util.concurrent.atomic.AtomicInteger |
total |
private java.util.concurrent.atomic.AtomicInteger |
transportError |
private java.util.concurrent.atomic.AtomicInteger |
webSocket |
Modifier | Constructor and Description |
---|---|
private |
Stats() |
Modifier and Type | Method and Description |
---|---|
void |
decrementSessionCount(WebSocketSession session) |
private java.util.concurrent.atomic.AtomicInteger |
getCountFor(WebSocketSession session) |
void |
incrementLimitExceededCount() |
void |
incrementNoMessagesReceivedCount() |
void |
incrementSessionCount(WebSocketSession session) |
void |
incrementTransportError() |
java.lang.String |
toString() |
private final java.util.concurrent.atomic.AtomicInteger total
private final java.util.concurrent.atomic.AtomicInteger webSocket
private final java.util.concurrent.atomic.AtomicInteger httpStreaming
private final java.util.concurrent.atomic.AtomicInteger httpPolling
private final java.util.concurrent.atomic.AtomicInteger limitExceeded
private final java.util.concurrent.atomic.AtomicInteger noMessagesReceived
private final java.util.concurrent.atomic.AtomicInteger transportError
public void incrementSessionCount(WebSocketSession session)
public void decrementSessionCount(WebSocketSession session)
public void incrementLimitExceededCount()
public void incrementNoMessagesReceivedCount()
public void incrementTransportError()
private java.util.concurrent.atomic.AtomicInteger getCountFor(WebSocketSession session)
public java.lang.String toString()
toString
in class java.lang.Object