List of usage examples for io.netty.channel.nio NioEventLoop threadProperties
public final ThreadProperties threadProperties()
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 www.j av a2 s.com return tmp.toString(); }