public int getMaxConnections() {
        return maxConnections;
    }
Returns the maximum number of connections that the pool will use. The
actual number of connections in the pool will vary between this value
and the minimum based on the current load.

@return the max possible number of connections in the pool.
xmppserver/src/main/java/org/jivesoftware/database/DefaultConnectionProvider.java