List of usage examples for io.netty.channel.nio NioEventLoop pendingTasks
@Override
public int pendingTasks()
From source file:cn.wantedonline.puppy.httpserver.stat.NioWorkerStat.java
License:Apache License
private String workerTaskStat(NioEventLoop w) { StringBuilder tmp = new StringBuilder(); if (AssertUtil.isNotNull(w)) { tmp.append(String.format(taskinfoFmt, w.pendingTasks(), w.getIoRatio(), NioWorkerStatus(w))); }//from w w w. j a va2 s. com return tmp.toString(); }