This connection manager waits when the pool is empty. Requests are stacked
using the Java wait/notify mechanism. Therefore the FIFO order is not
guaranteed and the first request to get the freed connection is the thread
that gets elected by the scheduler.
author: Emmanuel Cecchet author: Nicolas Modrzyk version: 1.0
public RandomWaitPoolConnectionManager(String backendUrl, String backendName, String login, String password, String driverPath, String driverClassName, int poolSize, int timeout)(Code)
Creates a new RandomWaitPoolConnectionManager instance.
Parameters: backendUrl - URL of the DatabaseBackend owning thisconnection manager Parameters: backendName - name of the DatabaseBackend owning thisconnection manager Parameters: login - backend connection login to be used by this connection manager Parameters: password - backend connection password to be used by this connectionmanager Parameters: driverPath - path for driver Parameters: driverClassName - class name for driver Parameters: poolSize - size of the connection pool Parameters: timeout - time to wait for a connection in seconds (0 means waitforever)