return activeThreadCount;
}
public int getThreadKeepaliveCount()
{
Server server = _server;
if (server == null)
return -1;
int keepaliveThreadCount = -1;
for (SocketLinkListener port : server.getPorts()) {
if (port.getKeepaliveConnectionCount() >= 0) {
if (keepaliveThreadCount == -1)
keepaliveThreadCount = 0;
keepaliveThreadCount += port.getKeepaliveConnectionCount();