public Metrics threadDump() {
    bindings.add((binder, routes, conf) -> {
      routes.use("GET", this.pattern + "/thread-dump", new ThreadDumpHandler());
    });
    return this;
  }
public Metrics threadDump() {
    bindings.add((binder, routes, conf) -> {
      routes.use("GET", this.pattern + "/thread-dump", new ThreadDumpHandler());
    });
    return this;
  }
public Metrics threadDump ( ) { bindings . add ( ( binder , routes , conf ) -> { routes . use ( "GET" , this . pattern + "/thread-dump" , new ThreadDumpHandler ( ) ) ; } ) ; return this ; }
Append a handler that prints thread states (a.k.a thread dump). See {@link ThreadDumpHandler}.

@return This metrics module.
Append a handler that prints thread states ( a . k . a thread dump ) . See { @link ThreadDumpHandler } .