Example #1
0
 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;
 }