@Override
    public void run(DiagnosticsLogWriter writer) {
        writer.startSection("OverloadedConnections");

        Collection<ServerConnection> connections = nodeEngine.getNode().getServer().getConnections();
        for (ServerConnection connection : connections) {
            clear();
            scan(writer, (TcpServerConnection) connection, false);

            clear();
            scan(writer, (TcpServerConnection) connection, true);
        }

        writer.endSection();
    }
@Test
    public void test() {
        spawn(() -> {
            IMap<String, String> map = local.getMap(getClass().getName());
            while (!stop) {
                map.getAsync(remoteKey);
            }
        });

        assertTrueEventually(() -> {
            plugin.run(logWriter);

            assertContains(GetOperation.class.getSimpleName() + " sampleCount=");
        });
    }