Issue #3242 - Post-review cleanup of WebSocket dump
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
aad5e97336
commit
478e5ac593
|
@ -279,7 +279,7 @@ public class WebSocketSession extends ContainerLifeCycle implements Session, Rem
|
|||
|
||||
@Override
|
||||
public String dumpSelf() {
|
||||
return String.format("%s@%x[behavior=%s,batchMode=%s,idleTimeout=%,d,requestURI=%s]",
|
||||
return String.format("%s@%x[behavior=%s,batchMode=%s,idleTimeout=%d,requestURI=%s]",
|
||||
this.getClass().getSimpleName(), hashCode(),
|
||||
getPolicy().getBehavior(),
|
||||
getBatchMode(),
|
||||
|
|
|
@ -110,7 +110,7 @@ public class ExtensionStack extends ContainerLifeCycle implements IncomingFrames
|
|||
|
||||
@Override
|
||||
public String dumpSelf() {
|
||||
return String.format("ExtensionStack%x [size=%d]", hashCode(), extensions.size());
|
||||
return String.format("%s@%x[size=%d,queueSize=%d]", getClass().getSimpleName(), hashCode(), extensions.size(), getQueueSize());
|
||||
}
|
||||
|
||||
@ManagedAttribute(name = "Extension List", readonly = true)
|
||||
|
|
|
@ -337,9 +337,8 @@ public class FrameFlusher extends IteratingCallback
|
|||
ByteBuffer agg = aggregate;
|
||||
if (agg != null)
|
||||
aggSize = agg.position();
|
||||
return String.format("%s@%x[queueSize=%d,aggregateSize=%d,terminated=%s]",
|
||||
getClass().getSimpleName(),
|
||||
hashCode(),
|
||||
return String.format("%s[queueSize=%d,aggregateSize=%d,terminated=%s]",
|
||||
super.toString(),
|
||||
getQueueSize(),
|
||||
aggSize,
|
||||
terminated);
|
||||
|
|
Loading…
Reference in New Issue