void addAddress(final String protocol, final String clusterName, final CidrAddress block, final InetSocketAddress destination) { synchronized (this) { serviceURLCache = null; clustersByName.computeIfAbsent(clusterName, name -> new ClusterNodeInformation()) .getAddressTablesByProtocol() .computeIfAbsent(protocol, ignored -> new CidrAddressTable<>()) .put(block, destination); } }
final NodeInformation.ClusterNodeInformation clusterInfo = nodeInformation.getClustersByName().get(clusterName); if (clusterInfo != null) { final Map<String, CidrAddressTable<InetSocketAddress>> tables = clusterInfo.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : tables.entrySet()) { final String protocol = entry2.getKey();
final String clusterName = entry.getKey(); final ClusterNodeInformation clusterNodeInformation = entry.getValue(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry1 : clusterNodeInformation.getAddressTablesByProtocol().entrySet()) { final String protocol = entry1.getKey(); final CidrAddressTable<InetSocketAddress> table = entry1.getValue();
final String clusterName = entry.getKey(); final ClusterNodeInformation clusterNodeInformation = entry.getValue(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry1 : clusterNodeInformation.getAddressTablesByProtocol().entrySet()) { final String protocol = entry1.getKey(); final CidrAddressTable<InetSocketAddress> table = entry1.getValue();
final NodeInformation.ClusterNodeInformation clusterInfo = nodeInformation.getClustersByName().get(clusterName); if (clusterInfo != null) { final Map<String, CidrAddressTable<InetSocketAddress>> tables = clusterInfo.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : tables.entrySet()) { final String protocol = entry2.getKey();
final Map<String, CidrAddressTable<InetSocketAddress>> atm = cni.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : atm.entrySet()) { final String protocol = entry2.getKey();
final Map<String, CidrAddressTable<InetSocketAddress>> atm = cni.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : atm.entrySet()) { final String protocol = entry2.getKey();
void addAddress(final String protocol, final String clusterName, final CidrAddress block, final InetSocketAddress destination) { synchronized (this) { serviceURLCache = null; clustersByName.computeIfAbsent(clusterName, name -> new ClusterNodeInformation()) .getAddressTablesByProtocol() .computeIfAbsent(protocol, ignored -> new CidrAddressTable<>()) .put(block, destination); } }
void addAddress(final String protocol, final String clusterName, final CidrAddress block, final InetSocketAddress destination) { synchronized (this) { serviceURLCache = null; clustersByName.computeIfAbsent(clusterName, name -> new ClusterNodeInformation()) .getAddressTablesByProtocol() .computeIfAbsent(protocol, ignored -> new CidrAddressTable<>()) .put(block, destination); } }
final String clusterName = entry.getKey(); final ClusterNodeInformation clusterNodeInformation = entry.getValue(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry1 : clusterNodeInformation.getAddressTablesByProtocol().entrySet()) { final String protocol = entry1.getKey(); final CidrAddressTable<InetSocketAddress> table = entry1.getValue();
final Map<String, CidrAddressTable<InetSocketAddress>> atm = cni.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : atm.entrySet()) { final String protocol = entry2.getKey();
final NodeInformation.ClusterNodeInformation clusterInfo = nodeInformation.getClustersByName().get(clusterName); if (clusterInfo != null) { final Map<String, CidrAddressTable<InetSocketAddress>> tables = clusterInfo.getAddressTablesByProtocol(); for (Map.Entry<String, CidrAddressTable<InetSocketAddress>> entry2 : tables.entrySet()) { final String protocol = entry2.getKey();