public void doEvict(){
  Set<Product> products=getProducts();
  evictionDao.setProducts(new HashSet<Product>());
  int evicted=0;
  if (products != null) {
    evicted=products.size();
    doEvict(products);
  }
  if (evicted == 0) {
    logger.info("No product Evicted.");
  }
}

public void doEvict ( ) { Set < Product > products = getProducts ( ) ; evictionDao . setProducts ( new HashSet < Product > ( ) ) ; int evicted = 0 ; if ( products != null ) { evicted = products . size ( ) ; doEvict ( products ) ; } if ( evicted == 0 ) { logger . info ( "No product Evicted." ) ; } }
performs a eviction of products .
