public static RocksDBConfigurationBuilder from(final RocksDBFactoryConfiguration configuration) {
    return new RocksDBConfigurationBuilder()
        .backgroundThreadCount(configuration.getBackgroundThreadCount())
        .cacheCapacity(configuration.getCacheCapacity())
        .maxOpenFiles(configuration.getMaxOpenFiles())
        .isHighSpec(configuration.isHighSpec())
        .enableReadCacheForSnapshots(configuration.isReadCacheEnabledForSnapshots())
        .isBlockchainGarbageCollectionEnabled(configuration.isBlockchainGarbageCollectionEnabled())
        .blobGarbageCollectionAgeCutoff(configuration.getBlobGarbageCollectionAgeCutoff())
        .blobGarbageCollectionForceThreshold(
            configuration.getBlobGarbageCollectionForceThreshold());
  }
From.

@param configuration the configuration
@return the rocks db configuration builder
plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/RocksDBConfigurationBuilder.java