List of usage examples for io.netty.util.concurrent ThreadProperties name
String name();
From source file:cn.wantedonline.puppy.httpserver.stat.NioWorkerStat.java
License:Apache License
private String workerThreadStat(NioEventLoop worker) { StringBuilder tmp = new StringBuilder(); if (AssertUtil.isNotNull(worker)) { ThreadProperties tp = worker.threadProperties(); tmp.append(String.format(threadinfoFmt, tp.id(), tp.name(), tp.priority(), tp.state().name())); }/*from w w w . j a v a2 s .co m*/ return tmp.toString(); }