[RocksJava] Flush functionality

RocksDB now supports to flush Memtables.