code: public void cache(Map<String, Object> resources) {
  		verifyState();
  
  		if (!cacheLocked.get()) {
  			resourceCache.get().putAll(resources);
  		}
  	}
docs: Adds multiple resources to cache.
  @param resources items to add
  @throws IllegalStateException in case <code>init()</code> was not called