code: public Configuration customize(Configuration defaultConfiguration, Configuration namedConfiguration)
      {
          // Set custom configuration
  
          ConfigurationBuilder builder = new ConfigurationBuilder();
  
          // Named configuration have priority
          if (namedConfiguration != null) {
              read(builder, namedConfiguration);
          } else {
              // Add default configuration
              if (defaultConfiguration != null) {
                  read(builder, defaultConfiguration);
              }
  
              customizeEviction(builder);
          }
  
          return builder.build();
      }
docs: Customize provided configuration based on XWiki cache configuration.
  
  @param defaultConfiguration the default Infinispan configuration
  @param namedConfiguration the named default Infinispan configuration
  @return the new configuration or the passed one if nothing changed