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

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

Introduction

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

Prototype

@Override
    public boolean isShuttingDown() 

Source Link

Usage

From source file:cn.wantedonline.puppy.httpserver.stat.NioWorkerStat.java

License:Apache License

private static String NioWorkerStatus(NioEventLoop w) {
    return w.isShutdown() ? "ShutDown"
            : w.isShuttingDown() ? "ShuttingDown" : w.isTerminated() ? "Terminated" : "Running";
}