public abstract class AbstractMongoProcessFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected de.flapdoodle.embed.mongo.MongodProcess |
process |
Constructor and Description |
---|
AbstractMongoProcessFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
startEmbeddedMongoIfPossible(com.mongodb.ConnectionString connectionString,
com.mongodb.connection.ClusterSettings.Builder clusterSettings)
Starts a MongoDB process if possible.
|
protected void startEmbeddedMongoIfPossible(@Nullable com.mongodb.ConnectionString connectionString, @Nullable com.mongodb.connection.ClusterSettings.Builder clusterSettings) throws IOException
connectionString
- The optional connection stringclusterSettings
- The optional cluster settingsIOException
- If an error occurs starting the process