Example usage for io.netty.util.concurrent ThreadProperties priority

List of usage examples for io.netty.util.concurrent ThreadProperties priority

Introduction

In this page you can find the example usage for io.netty.util.concurrent ThreadProperties priority.

Prototype

int priority();

Source Link

Usage

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()));
    }/*www .  ja v  a 2 s  .  c o  m*/
    return tmp.toString();
}