コード例 #1
0
 @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);
 }
コード例 #2
0
  @Override
  public void dump(Appendable out, String indent) throws IOException {
    super.dump(out, indent);
    out.append(indent).append(" +- incomingHandler : ");
    if (incomingHandler instanceof Dumpable) {
      ((Dumpable) incomingHandler).dump(out, indent + "    ");
    } else {
      out.append(incomingHandler.toString()).append('\n');
    }

    out.append(indent).append(" +- outgoingHandler : ");
    if (outgoingHandler instanceof Dumpable) {
      ((Dumpable) outgoingHandler).dump(out, indent + "    ");
    } else {
      out.append(outgoingHandler.toString()).append('\n');
    }
  }
コード例 #3
0
ファイル: Holder.java プロジェクト: Nextzero/Jetty
 /* ------------------------------------------------------------ */
 @Override
 public String dump() {
   return ContainerLifeCycle.dump(this);
 }
コード例 #4
0
ファイル: Holder.java プロジェクト: Nextzero/Jetty
 /* ------------------------------------------------------------ */
 @Override
 public void dump(Appendable out, String indent) throws IOException {
   out.append(toString()).append(" - ").append(AbstractLifeCycle.getState(this)).append("\n");
   ContainerLifeCycle.dump(out, indent, _initParams.entrySet());
 }
コード例 #5
0
 @Override
 public void dump(Appendable out, String indent) throws IOException {
   ContainerLifeCycle.dumpObject(out, this);
   ContainerLifeCycle.dump(out, indent, Collections.singletonList(controller), streams.values());
 }
コード例 #6
0
 @Override
 public void dump(Appendable out, String indent) throws IOException {
   super.dump(out, indent);
   ContainerLifeCycle.dump(out, indent, Collections.singletonList(connectionPool));
 }