@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, toString()); }