Package com.atomikos.datasource.pool.event

Examples of com.atomikos.datasource.pool.event.ConnectionPoolExhaustedEvent


    Reapable ret = null;
    long remainingTime = properties.getBorrowConnectionTimeout() * 1000L;   
    do {
      ret = retrieveFirstAvailableConnectionAndGrowPoolIfNecessary(hmsg);
      if ( ret == null ) {
        EventPublisher.publish(new ConnectionPoolExhaustedEvent(properties.getUniqueResourceName()));
        remainingTime = waitForAtLeastOneAvailableConnection(remainingTime);
        assertNotDestroyed();
      }
    } while ( ret == null );
    return ret;
View Full Code Here

TOP

Related Classes of com.atomikos.datasource.pool.event.ConnectionPoolExhaustedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.