/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/ObjectPoolHelper.java
pool.setTimeBetweenEvictionRunsMillis( EVICTABLE_IDLE_TIME) ;pool.setSoftMinEvictableIdleTimeMillis( EVICTABLE_IDLE_TIME) ;
pool.setSoftMinEvictableIdleTimeMillis ( EVICTABLE_IDLE_TIME ) ;
} }); pool.setMaxTotal(maxActive); pool.setMaxIdle(MAX_IDLE); pool.setMaxWaitMillis(MAX_WAIT); pool.setBlockWhenExhausted(true); <extra_id_0> pool.setTimeBetweenEvictionRunsMillis(EVICTABLE_IDLE_TIME); return pool; } public T getObject() { try { return objectPool.borrowObject();