@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out,indent,Arrays.asList(new String[]{"connections="+_connectionStats,"duration="+_connectionDurationStats,"in="+_messagesIn,"out="+_messagesOut})); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this + " - requests queued: " + exchanges.size()); List<String> connections = new ArrayList<>(); for (Connection connection : idleConnections) connections.add(connection + " - IDLE"); for (Connection connection : activeConnections) connections.add(connection + " - ACTIVE"); ContainerLifeCycle.dump(out, indent, connections); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); ContainerLifeCycle.dump(out, indent, Collections.singletonList(controller), streams.values()); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this + " - requests queued: " + exchanges.size()); List<String> connections = new ArrayList<>(); for (Connection connection : idleConnections) connections.add(connection + " - IDLE"); for (Connection connection : activeConnections) connections.add(connection + " - ACTIVE"); ContainerLifeCycle.dump(out, indent, connections); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out,indent,Arrays.asList(new String[]{"connections="+_connectionStats,"duration="+_connectionDurationStats,"in="+_messagesIn,"out="+_messagesOut})); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); Thread thread = this.thread; if (thread != null) { List<StackTraceElement> frames = Arrays.asList(thread.getStackTrace()); ContainerLifeCycle.dump(out, indent, frames); } }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out,indent,Arrays.asList(new String[]{"connections="+_connectionStats,"duration="+_connectionDurationStats,"in="+_messagesIn,"out="+_messagesOut})); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out, indent, _mbeans.entrySet()); }
@Override public void dump(Appendable out, String indent) throws IOException { Set<String> channels = _channels.keySet(); ContainerLifeCycle.dumpObject(out, "channels: " + channels.size()); if (isDetailedDump()) { ContainerLifeCycle.dump(out, indent, new TreeSet<>(channels)); } } });
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); List<String> children = new ArrayList<>(); children.add(String.format("connections=%s", _connections)); children.add(String.format("durations=%s", _connectionsDuration)); children.add(String.format("bytes in/out=%s/%s", getReceivedBytes(), getSentBytes())); children.add(String.format("messages in/out=%s/%s", getReceivedMessages(), getSentMessages())); ContainerLifeCycle.dump(out, indent, children); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out, indent, _beans.entrySet()); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out, indent, _beans.entrySet()); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out,this); ContainerLifeCycle.dump(out, indent, _beans.entrySet()); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); ContainerLifeCycle.dump(out, indent, TypeUtil.asList(_selectors)); }
@Override public void dump(Appendable out, String indent) throws IOException { ContainerLifeCycle.dumpObject(out, this); ContainerLifeCycle.dump(out, indent, TypeUtil.asList(_selectors)); }
@Override public void dump(Appendable out, String indent) throws IOException { List<ServerSessionListener> listeners = getListeners(); ContainerLifeCycle.dumpObject(out, "listeners: " + listeners.size()); if (_bayeux.isDetailedDump()) { ContainerLifeCycle.dump(out, indent, listeners); } } });
@Override public void dump(Appendable out, String indent) throws IOException { Set<ServerSession> subscribers = getSubscribers(); ContainerLifeCycle.dumpObject(out, "subscribers: " + subscribers.size()); if (_bayeux.isDetailedDump()) { ContainerLifeCycle.dump(out, indent, subscribers); } } });
@Override public void dump(Appendable out, String indent) throws IOException { List<Authorizer> authorizers = getAuthorizers(); ContainerLifeCycle.dumpObject(out, "authorizers: " + authorizers.size()); if (_bayeux.isDetailedDump()) { ContainerLifeCycle.dump(out, indent, authorizers); } } });
@Override public void dump(Appendable out, String indent) throws IOException { List<ServerChannelListener> listeners = getListeners(); ContainerLifeCycle.dumpObject(out, "listeners: " + listeners.size()); if (_bayeux.isDetailedDump()) { ContainerLifeCycle.dump(out, indent, listeners); } } });