setLockMode is already available, setFlushMode would be a good addition
Released in 2.2.2
Bug watches keep track of this bug in other bug trackers.
Released in 2.2.2