Examples of shrinkPool()


Examples of com.gi.server.core.service.mapservice.MapServicePool.shrinkPool()

      HashMap<String, MapService> mapServices = ServiceManager.getMapServices();
      for(Iterator<Entry<String, MapService>> itr=mapServices.entrySet().iterator();itr.hasNext();){
        Entry<String, MapService> entry = itr.next();
        MapService mapService = entry.getValue();
        MapServicePool mapServicePool = mapService.getMapServicePool();
        mapServicePool.shrinkPool();
      }

    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.