docs: private Configuration getInternalCacheConfig() {
        ConfigurationBuilder configurationBuilder = new ConfigurationBuilder();
  
        // allow the registry to work for local caches as well as clustered caches
        CacheMode cacheMode = cacheManager.getGlobalComponentRegistry().getGlobalConfiguration().isClustered()
              ? CacheMode.REPL_SYNC : CacheMode.LOCAL;
        configurationBuilder.clustering().cacheMode(cacheMode);
  
        // use invocation batching (cache-only transactions) for high consistency as writes are expected to be rare in this cache
        configurationBuilder.transaction().transactionMode(TransactionMode.TRANSACTIONAL)
              .transactionManagerLookup(null).invocationBatching().enable();
  
        configurationBuilder.security().authorization().disable();
        return configurationBuilder.build();
     }