List of usage examples for io.netty.channel.nio NioEventLoop getIoRatio
public int getIoRatio()
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 www . ja va 2 s. co m return tmp.toString(); }