Class EmbeddedMongoClientFactory
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.local.internal.EmbeddedMongoClientFactory
-
- Direct Known Subclasses:
AndroidEmbeddedMongoClientFactory
public abstract class EmbeddedMongoClientFactory extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmbeddedMongoClientFactory()
-
Method Summary
Modifier and Type Method Description void
close()
protected abstract MongoClient
createClient(String dbPath, CodecRegistry codecRegistry)
MongoClient
getClient(String key, String dbPath, CodecRegistry codecRegistry)
void
removeClient(String key)
-
-
-
Method Detail
-
createClient
protected abstract MongoClient createClient(String dbPath, CodecRegistry codecRegistry)
-
getClient
public MongoClient getClient(String key, String dbPath, CodecRegistry codecRegistry)
-
removeClient
public void removeClient(String key)
-
close
public void close()
-
-