Package com.atomikos.datasource.pool.event

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


      long now = System.currentTimeMillis();
      if ( inUse && ( ( now - maxInUseTime * 1000 ) > lastTimeReleased ) ) {
        if ( LOGGER.isDebugEnabled() ) LOGGER.logDebug ( this + ": connection in use for more than " + maxInUseTime + "s, reaping it: " + xpc );
        xpc.reap();
        EventPublisher.publish(new PooledConnectionReapedEvent(properties.getUniqueResourceName(),xpc));
      }
    }
    logCurrentPoolSize();
  }
View Full Code Here

TOP

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

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.