[RocksJava] Flush functionality

RocksJava now supports also flush functionality of
RocksDB.