java/db: Adding ability to change the consistency level.