code: public MapConfig addQueryCacheConfig(QueryCacheConfig queryCacheConfig) {
          String queryCacheName = queryCacheConfig.getName();
          List<QueryCacheConfig> queryCacheConfigs = getQueryCacheConfigs();
          for (QueryCacheConfig cacheConfig : queryCacheConfigs) {
              checkFalse(cacheConfig.getName().equals(queryCacheName),
                      "A query cache already exists with name = [" + queryCacheName + ']');
          }
          queryCacheConfigs.add(queryCacheConfig);
          return this;
      }
docs: Adds a new {@link QueryCacheConfig} to this {@code MapConfig}.
  
  @param queryCacheConfig the config to be added
  @return this {@code MapConfig} instance
  @throws java.lang.IllegalArgumentException if there is already a {@code QueryCache}
  with the same {@code QueryCacheConfig#name}