Example usage for io.netty.channel.nio NioEventLoop pendingTasks

List of usage examples for io.netty.channel.nio NioEventLoop pendingTasks

Introduction

In this page you can find the example usage for io.netty.channel.nio NioEventLoop pendingTasks.

Prototype

@Override
    public int pendingTasks() 

Source Link

Usage

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();
}