code: public static CacheEngine get(String name) {
        if (!engines.containsKey(name)) {
           throw new IllegalArgumentException(name + " is not a valid cache engine name.");
        }
        return engines.get(name);
     }
docs: Gets the cache engine associated with the given name
  
  @param name the name of the cache engine
  @return the cache engine associated with the given name
  @throws IllegalArgumentException If the name is not a valid cache engine name