private void flushCachesOfSession( IPentahoSession iPentahoSession ) { cacheManager.removeFromSessionCache( iPentahoSession, ENTRY_COLLECTOR ); synchronized ( futuresBySession ) { if ( futuresBySession.containsKey( iPentahoSession ) ) { futuresBySession.get( iPentahoSession ).clear(); futuresBySession.remove( iPentahoSession ); } } }