class ConnectionLoggerRegistry implements ConnectionMonitorRegistry<ConnectionLogger> {

    protected boolean isActiveForConnection(final ConnectionId connectionId) {
        final boolean muted = streamLoggers(connectionId)
                .findFirst()
                .map(MuteableConnectionLogger::isMuted)
                .orElse(true);
        return !muted;
    }

    private  ConnectionLoggerRegistry(final int successCapacity, final int failureCapacity,
            final long maximumLogSizeInByte, final Duration loggingDuration);

}