public synchronized boolean addPool ( HostConnectionPool < CL > pool ) { if ( this . pools . add ( pool ) ) { refresh ( ) ; return true ; } return false ; }
Add a new pool to the partition . Checks to see if the pool already existed . If so then there is no need to refresh the pool .