List of usage examples for org.apache.commons.pool.impl StackObjectPool clear
public synchronized void clear()
From source file:org.alinous.plugin.derby.DerbyDataSource.java
public void dispose() { StackObjectPool pool = this.connectionPool; this.connectionPool = null; pool.clear(); try {//from ww w .ja v a 2s . co m pool.close(); } catch (Exception e) { e.printStackTrace(); } }