As the changes involve updating Mongo Java Driver, and I'm not too familiar with it, I'd rather have someone reviewing the changes before pushing them out.
MongoClient's getConnection() method was deprecated in version 2, and got removed in version 3. We were using it, I presume, to check if the close() method was closed. I couldn't find anything to replace it, even though this thread was helpful. Instead, I am relying on an AtomicBoolean for that now.
As the changes involve updating Mongo Java Driver, and I'm not too familiar with it, I'd rather have someone reviewing the changes before pushing them out.
MongoClient
'sgetConnection()
method was deprecated in version 2, and got removed in version 3. We were using it, I presume, to check if theclose()
method was closed. I couldn't find anything to replace it, even though this thread was helpful. Instead, I am relying on anAtomicBoolean
for that now.