rocksdb/java/rocksjni
Yueh-Hsuan Chiang 2082a7d745 [Java] Temporary set the number of BG threads based on the number of BG compactions.
Summary:
Before the Java binding for Env is ready, Java developers have no way to
control the number of background threads.  This diff provides a temporary
solution where RocksDB.setMaxBackgroundCompactions() will affect the
number of background threads.

Note that once Env is ready.  Changes made in this diff should be reverted.

Test Plan:
make rocksdbjava
make jtest
make jdb_bench
java/jdb_bench.sh

Reviewers: haobo, sdong

Reviewed By: sdong

CC: leveldb

Differential Revision: https://reviews.facebook.net/D18681
2014-05-13 12:28:47 -07:00
..
backupablejni.cc [Java] Add a basic binding and test for BackupableDB and StackableDB. 2014-04-17 17:28:51 -07:00
filter.cc Refactor filter impl 2014-04-22 08:58:43 -07:00
iterator.cc [Java] Rename org.rocksdb.Iterator to org.rocksdb.RocksIterator. 2014-05-12 11:02:25 -07:00
memtablejni.cc [Java] Add Java bindings for memtables and sst format. 2014-04-21 15:40:46 -07:00
options.cc [Java] Fixed compile error due to the removal of ReadOptions.prefix_seek, minor improvement on DbBenchmark.java. 2014-04-27 21:49:45 -07:00
portal.h [Java] Rename org.rocksdb.Iterator to org.rocksdb.RocksIterator. 2014-05-12 11:02:25 -07:00
rocksjni.cc [Java] Temporary set the number of BG threads based on the number of BG compactions. 2014-05-13 12:28:47 -07:00
statistics.cc Adding iterator JNI binding 2014-04-19 03:26:22 -07:00
table.cc [Java] Add Java bindings for memtables and sst format. 2014-04-21 15:40:46 -07:00
write_batch.cc [Java] Fixed compile error due to the removal of ReadOptions.prefix_seek, minor improvement on DbBenchmark.java. 2014-04-27 21:49:45 -07:00