public static RocksDBCLIOptions fromConfig(final RocksDBConfiguration config) {
    final RocksDBCLIOptions options = create();
    options.maxOpenFiles = config.getMaxOpenFiles();
    options.cacheCapacity = config.getCacheCapacity();
    options.backgroundThreadCount = config.getBackgroundThreadCount();
    options.isHighSpec = config.isHighSpec();
    options.enableReadCacheForSnapshots = config.isReadCacheEnabledForSnapshots();
    options.isBlockchainGarbageCollectionEnabled = config.isBlockchainGarbageCollectionEnabled();
    options.blobGarbageCollectionAgeCutoff = config.getBlobGarbageCollectionAgeCutoff();
    options.blobGarbageCollectionForceThreshold = config.getBlobGarbageCollectionForceThreshold();
    return options;
  }
RocksDb cli options from config.

@param config the config
@return the RocksDb cli options
plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/RocksDBCLIOptions.java