public synchronized void checkAndRemoveEmptyServiceClusterProxy(String clusterName) throws ApplianceException { ServiceClusterProxy serviceClusterProxy = (ServiceClusterProxy) serviceClusterProxyMap.get(clusterName); if (serviceClusterProxy != null) { if (serviceClusterProxy.getFirstServiceCluster() == null) { removeServiceCluster(clusterName); serviceClusterProxyMap.remove(clusterName); } } else return; }