public synchronized void closeImmediatedly() {

        close();

        Iterator iterator = this.connectionsInUse.iterator();

        while (iterator.hasNext()) {
            PooledConnection connection = (PooledConnection) iterator.next();
            SessionConnectionWrapper sessionWrapper =
                (SessionConnectionWrapper) this.sessionConnectionWrappers.get(
                    connection);

            closeSessionWrapper(
                sessionWrapper,
                "Error closing session wrapper. Connection pool was shutdown immediatedly.");
        }
    }
public synchronized void closeImmediatedly ( ) { close ( ) ; Iterator iterator = this . connectionsInUse . iterator ( ) ; while ( iterator . hasNext ( ) ) { PooledConnection connection = ( PooledConnection ) iterator . next ( ) ; SessionConnectionWrapper sessionWrapper = ( SessionConnectionWrapper ) this . sessionConnectionWrappers . get ( connection ) ; closeSessionWrapper ( sessionWrapper , "Error closing session wrapper. Connection pool was shutdown immediatedly." ) ; } }
Closes this connection