Package org.apache.avalon.excalibur.datasource

Examples of org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispose()


    if (perThreadPoolSet != null) {// in case
      Iterator it = perThreadPoolSet.iterator();
      while(it.hasNext()){
        ResourceLimitingJdbcDataSource dsc = (ResourceLimitingJdbcDataSource)it.next();
        log.debug("Disposing pool: "+dsc.getInstrumentableName()+" @"+System.identityHashCode(dsc));
        dsc.dispose();
      }
      perThreadPoolSet.clear();
    }
  }
View Full Code Here


        if (perThreadPoolSet != null) {// in case
            Iterator it = perThreadPoolSet.iterator();
            while(it.hasNext()){
                ResourceLimitingJdbcDataSource dsc = (ResourceLimitingJdbcDataSource)it.next();
                log.debug("Disposing pool: "+dsc.getInstrumentableName()+" @"+System.identityHashCode(dsc));
                dsc.dispose();
            }
            perThreadPoolSet=null;
        }
    }
View Full Code Here

        if (perThreadPoolSet != null) {// in case
            Iterator<ResourceLimitingJdbcDataSource> it = perThreadPoolSet.iterator();
            while(it.hasNext()){
                ResourceLimitingJdbcDataSource dsc = it.next();
                log.debug("Disposing pool: "+dsc.getInstrumentableName()+" @"+System.identityHashCode(dsc));
                dsc.dispose();
            }
            perThreadPoolSet=null;
        }
    }
View Full Code Here

    if (perThreadPoolSet != null) {// in case
      Iterator it = perThreadPoolSet.iterator();
      while(it.hasNext()){
        ResourceLimitingJdbcDataSource dsc = (ResourceLimitingJdbcDataSource)it.next();
        log.debug("Disposing pool: "+dsc.getInstrumentableName()+" @"+System.identityHashCode(dsc));
        dsc.dispose();
      }
      perThreadPoolSet.clear();
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.