| | |
| | | private String protocol; |
| | | |
| | | /** The set of listeners for this connection handler. */ |
| | | private final List<HostPort> listeners = new LinkedList<HostPort>(); |
| | | private final List<HostPort> listeners = new LinkedList<>(); |
| | | |
| | | /** |
| | | * Creates a new instance of this JMX connection handler. It must be |
| | |
| | | public JmxConnectionHandler() { |
| | | super("JMX Connection Handler Thread"); |
| | | |
| | | this.connectionList = new CopyOnWriteArrayList<ClientConnection>(); |
| | | this.connectionList = new CopyOnWriteArrayList<>(); |
| | | } |
| | | |
| | | |
| | |
| | | // Configuration is ok. |
| | | currentConfig = config; |
| | | |
| | | final List<LocalizableMessage> reasons = new LinkedList<LocalizableMessage>(); |
| | | final List<LocalizableMessage> reasons = new LinkedList<>(); |
| | | if (!isPortConfigurationAcceptable(String.valueOf(config.dn()), |
| | | config.getListenPort(), reasons)) |
| | | { |