According to the javaDoc, getN() method of WriteResult class in MongoDB-java returns the number of documents updated in the opertion. But it always
getN()
WriteResult
You may also want to check http://docs.mongodb.org/manual/core/write-concern/
The dafault behaviour is not to use the "safe" write concern