rocksdb/java
Yueh-Hsuan Chiang 51f4b5090d [Java] Add SizeUnit in org.rocksdb.util to store const like KB, GB.
Summary:
* Add a class SizeUnit to store frequently used consts.  Currently
  it has KB, MB, GB, TB, and PB.

* Change the parameter type of Options.writeBufferSize and Options.blockSize
  from int to long.

Test Plan:
make rocksdbjava
make jtest

Reviewers: haobo, ankgup87, sdong, dhruba

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D17703
2014-04-14 14:03:43 -07:00
..
org/rocksdb [Java] Add SizeUnit in org.rocksdb.util to store const like KB, GB. 2014-04-14 14:03:43 -07:00
rocksjni [Java] Add SizeUnit in org.rocksdb.util to store const like KB, GB. 2014-04-14 14:03:43 -07:00
Makefile [Java] Add SizeUnit in org.rocksdb.util to store const like KB, GB. 2014-04-14 14:03:43 -07:00
RocksDBSample.java [Java] Add SizeUnit in org.rocksdb.util to store const like KB, GB. 2014-04-14 14:03:43 -07:00