rocksdb/java/rocksjni
Yueh-Hsuan Chiang d19aa25594 [Java] Add Java support for cache sharding.
Summary:
Add setCacheNumShardBits() and cacheNumShardBits() to Options.  This allows
developers to control the number of shards for the block cache.

Test Plan:
make rocksdbjava
cd java
make db_bench
./jdb_bench.sh --cache_size=1048576 --cache_numshardbits=6

Reviewers: sdong, ljin, ankgup87

Reviewed By: ankgup87

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D19347
2014-07-22 09:48:37 -07:00
..
backupablejni.cc Merge remote-tracking branch 'upstream/master' 2014-05-29 18:33:11 -07:00
env.cc [Java] Add basic Java binding for rocksdb::Env. 2014-06-05 17:09:25 -07:00
filter.cc [Java] Generalize dis-own native handle and refine dispose framework. 2014-05-28 18:16:29 -07:00
iterator.cc [Java] Generalize dis-own native handle and refine dispose framework. 2014-05-28 18:16:29 -07:00
memtablejni.cc [Java] Add Java bindings for memtables and sst format. 2014-04-21 15:40:46 -07:00
options.cc Update doc of options.cc 2014-07-07 12:26:06 -07:00
portal.h Caching methodId and fieldId is fine: v2 2014-07-09 09:09:08 -07:00
restorejni.cc Removing code from portal.h for setting handle of RestoreOptions and RestoreBackupableDB 2014-05-18 22:40:48 -07:00
rocksjni.cc [Java] Add Java support for cache sharding. 2014-07-22 09:48:37 -07:00
statistics.cc Adding iterator JNI binding 2014-04-19 03:26:22 -07:00
table.cc [Java] Fixed the Java compilation error caused by PlainTableFactory API change. 2014-07-21 09:19:28 -07:00
write_batch.cc [Java] Generalize dis-own native handle and refine dispose framework. 2014-05-28 18:16:29 -07:00