Skip to content

Commit

Permalink
Remove erroneously re-added setter
Browse files Browse the repository at this point in the history
Method was removed after current branch commenced.
Somehow (badly managed rebase by me ?) it got added back.
Manually remove it again.
  • Loading branch information
alanpaxton committed Mar 2, 2023
1 parent 76a2caa commit dc48838
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions java/src/main/java/org/rocksdb/BlockBasedTableConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,30 +290,6 @@ public BlockBasedTableConfig setPersistentCache(
return this;
}

/**
* Use the specified cache for compressed blocks.
* <p>
* If {@code null}, RocksDB will not use a compressed block cache.
* <p>
* Note: though it looks similar to {@link #setBlockCache(Cache)}, RocksDB
* doesn't put the same type of object there.
* <p>
* {@link org.rocksdb.Cache} should not be disposed before options instances
* using this cache is disposed.
* <p>
* {@link org.rocksdb.Cache} instance can be re-used in multiple options
* instances.
*
* @param blockCacheCompressed {@link org.rocksdb.Cache} Cache java instance
* (e.g. LRUCache).
*
* @return the reference to the current config.
*/
public BlockBasedTableConfig setBlockCacheCompressed(final Cache blockCacheCompressed) {
this.blockCacheCompressed = blockCacheCompressed;
return this;
}

/**
* Get the approximate size of user data packed per block.
*
Expand Down

0 comments on commit dc48838

Please sign in to comment.