Class LazyMongoClientCache

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.mongodb.client.MongoClient getMongoClient​(MongoClientFactory mongoClientFactory)
      Returns a MongoClient from the cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMongoClient

        public static com.mongodb.client.MongoClient getMongoClient​(MongoClientFactory mongoClientFactory)
        Returns a MongoClient from the cache.
        Parameters:
        mongoClientFactory - the factory that is used to create the MongoClient
        Returns:
        the MongoClient