class StatementCache implements IStatementCache {

	public void clear() {
		for (StatementHandle statement: this.cache.values()){
			try {
				if (!statement.isClosed()){ 
					statement.close();
				}
			} catch (SQLException e) {
				// don't log, we might fail if the connection link has died
				// logger.error("Error closing off statement", e);
			}
		}
		this.cache.clear();
	}

	public  StatementCache(int size, boolean maintainStats, Statistics statistics);

}