public synchronized Pool getPool ( String name ) { Pool pool = pools . get ( name ) ; if ( pool == null ) { boolean isConfiguredPool = poolNamesInAllocFile . contains ( name ) ; pool = new Pool ( name , isConfiguredPool ) ; pools . put ( name , pool ) ; } return pool ; }
Get a pool by name creating it if necessary .