public int getAvailableConnections ( final String name , final String userName ) { setup ( ) ; return dbPool . getAvailableConnections ( name , userName ) ; }
Returns amount of available connections which you can acquire for given source and user name . Source id is consist of source name and source user name .