Connection function ( ) { Connection loc0 = null ; if ( connectionsList . size ( ) > 0 ) { loc0 = connectionsList . get ( 0 ) ; connectionsList . remove ( 0 ) ; } return loc0 ; }
synchronized method that gives a user a connection from the pool if not empty concode_field_sep Vector<Connection> connectionsList concode_elem_sep Logger logger concode_elem_sep int MAX_POOL_SIZE concode_field_sep boolean checkIfConnectionPoolIsFull concode_elem_sep void returnConnectionToPool concode_elem_sep Connection createNewConnectionForPool concode_elem_sep void closePool concode_elem_sep void initializeConnectionPool concode_elem_sep int sizeConnectionPool