Fix build
[RocksJava] Flush functionality

RocksDB now supports to flush Memtables.