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