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();
}