Class MongoEmbeddedSettings


  • @Deprecated
    @Immutable
    public final class MongoEmbeddedSettings
    extends Object
    Deprecated.
    the embedded driver will be removed in the next major release
    Various settings to configure the underlying mongod library
    Since:
    3.8
    • Method Detail

      • builder

        public static MongoEmbeddedSettings.Builder builder​(MongoEmbeddedSettings settings)
        Deprecated.
        Convenience method to create a from an existing MongoClientSettings.
        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