Polishing
This commit is contained in:
@@ -652,6 +652,7 @@ public class StompSubProtocolHandler implements SubProtocolHandler, ApplicationE
|
||||
return MessageBuilder.createMessage(EMPTY_PAYLOAD, headerAccessor.getMessageHeaders());
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "StompSubProtocolHandler" + getSupportedProtocols();
|
||||
@@ -689,7 +690,6 @@ public class StompSubProtocolHandler implements SubProtocolHandler, ApplicationE
|
||||
|
||||
private final AtomicInteger disconnect = new AtomicInteger();
|
||||
|
||||
|
||||
public void incrementConnectCount() {
|
||||
this.connect.incrementAndGet();
|
||||
}
|
||||
|
||||
@@ -595,6 +595,7 @@ public class SubProtocolWebSocketHandler
|
||||
int getTransportErrorSessions();
|
||||
}
|
||||
|
||||
|
||||
private class DefaultStats implements Stats {
|
||||
|
||||
private final AtomicInteger total = new AtomicInteger();
|
||||
@@ -611,7 +612,6 @@ public class SubProtocolWebSocketHandler
|
||||
|
||||
private final AtomicInteger transportError = new AtomicInteger();
|
||||
|
||||
|
||||
@Override
|
||||
public int getTotalSessions() {
|
||||
return this.total.get();
|
||||
|
||||
Reference in New Issue
Block a user