Commit 82b60713 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Use the same name for the number of active sessions

parent 4994886a
......@@ -27,7 +27,6 @@ import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.logging.Level;
import java.util.logging.Logger;
......@@ -88,8 +87,6 @@ public class DispatchSSLServerNIO implements Runnable {
private static boolean forwardRequest = false;
private static AtomicInteger activeSessions = new AtomicInteger();
private static CacheMonitor ipv6Connections = null;
private static Selector serverSelector;
......@@ -104,9 +101,6 @@ public class DispatchSSLServerNIO implements Runnable {
if (monitor != null) {
monitor.addMonitoring("activeSessions", (names, values) -> {
names.add("activeSessions");
values.add(Double.valueOf(activeSessions.get()));
names.add("connectedClients");
values.add(Double.valueOf(sessionMap.size()));
names.add("executorPoolSize");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment