code: public void cacheAll(ArrayList<ExpiringService> list) {
  
      for (ExpiringService service : list) {
        cache.put(service.getService().getId(), service);
      }
  
    }
docs: Put a list of services in the cache.
  
  @param list the list of service to put in the cache