Package com.mongodb.embedded.client
Class MongoEmbeddedSettings
- java.lang.Object
-
- com.mongodb.embedded.client.MongoEmbeddedSettings
-
@Deprecated @Immutable public final class MongoEmbeddedSettings extends Object
Deprecated.the embedded driver will be removed in the next major releaseVarious settings to configure the underlying mongod library- Since:
- 3.8
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MongoEmbeddedSettings.Builder
Deprecated.A builder forMongoEmbeddedSettings
so thatMongoEmbeddedSettings
can be immutable, and to support easier construction through chaining.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MongoEmbeddedSettings.Builder
builder()
Deprecated.Convenience method to create a Builder.static MongoEmbeddedSettings.Builder
builder(MongoEmbeddedSettings settings)
Deprecated.Convenience method to create a from an existingMongoClientSettings
.String
getLibraryPath()
Deprecated.Gets the library path for the embedded mongodMongoEmbeddedLogLevel
getLogLevel()
Deprecated.Gets the logging level for the embedded mongodString
getYamlConfig()
Deprecated.Returns the yaml configuration for mongod.
-
-
-
Method Detail
-
builder
public static MongoEmbeddedSettings.Builder builder()
Deprecated.Convenience method to create a Builder.- Returns:
- a builder
-
builder
public static MongoEmbeddedSettings.Builder builder(MongoEmbeddedSettings settings)
Deprecated.Convenience method to create a from an existingMongoClientSettings
.- Parameters:
settings
- create a builder from existing settings- Returns:
- a builder
-
getLibraryPath
public String getLibraryPath()
Deprecated.Gets the library path for the embedded mongod- Returns:
- the library path if set or null
-
getYamlConfig
public String getYamlConfig()
Deprecated.Returns the yaml configuration for mongod.- Returns:
- the yaml configuration for mongod
- MongoDB documentation
- reference/configuration-options/
-
getLogLevel
public MongoEmbeddedLogLevel getLogLevel()
Deprecated.Gets the logging level for the embedded mongod- Returns:
- the logging level
-
-