[Java] Fix compile error on DbBenchmark.java

Summary:
Fix compile error on DbBenchmark.java

Test Plan:
make rocksdbjava
make jdb_bench
main
Yueh-Hsuan Chiang 10 years ago
parent 4eb5a40f7d
commit df3373fbf7
  1. 4
      java/org/rocksdb/benchmark/DbBenchmark.java

@ -523,8 +523,8 @@ public class DbBenchmark {
BlockBasedTableConfig table_options = new BlockBasedTableConfig(); BlockBasedTableConfig table_options = new BlockBasedTableConfig();
table_options.setBlockSize((Long)flags_.get(Flag.block_size)) table_options.setBlockSize((Long)flags_.get(Flag.block_size))
.setBlockCacheSize((Long)flags_.get(Flag.cache_size)) .setBlockCacheSize((Long)flags_.get(Flag.cache_size))
.setFilterBitsPerKey((Integer)flags_.get(Flag.bloom_bits)) .setCacheNumShardBits(
.setCacheNumShardBits((Integer)flags_.get(Flag.cache_numshardbits)); (Integer)flags_.get(Flag.cache_numshardbits));
options.setTableFormatConfig(table_options); options.setTableFormatConfig(table_options);
} }
options.setWriteBufferSize( options.setWriteBufferSize(

Loading…
Cancel
Save