code: public CacheSimpleConfig getCacheConfig(String name) {
          return ConfigUtils.getConfig(configPatternMatcher, cacheConfigs, name, CacheSimpleConfig.class);
      }
docs: Returns the CacheSimpleConfig for the given name, creating one
  if necessary and adding it to the collection of known configurations.
  <p>
  The configuration is found by matching the configuration name
  pattern to the provided {@code name} without the partition qualifier
  (the part of the name after {@code '@'}).
  If no configuration matches, it will create one by cloning the
  {@code "default"} configuration and add it to the configuration
  collection.
  <p>
  This method is intended to easily and fluently create and add
  configurations more specific than the default configuration without
  explicitly adding it by invoking {@link #addCacheConfig(CacheSimpleConfig)}.
  <p>
  Because it adds new configurations if they are not already present,
  this method is intended to be used before this config is used to
  create a hazelcast instance. Afterwards, newly added configurations
  may be ignored.
  
  @param name name of the cache config
  @return the cache configuration
  @throws ConfigurationException if ambiguous configurations are found
  @see StringPartitioningStrategy#getBaseName(java.lang.String)
  @see #setConfigPatternMatcher(ConfigPatternMatcher)
  @see #getConfigPatternMatcher()