Class MongoEmbeddedSettings



  • @Immutable
    public final class MongoEmbeddedSettings
    extends Object
    Various settings to configure the underlying mongod library
    Since:
    3.8
    • Method Detail

      • builder

        public static MongoEmbeddedSettings.Builder builder​(MongoEmbeddedSettings settings)
        Convenience method to create a from an existing MongoClientSettings.
        Parameters:
        settings - create a builder from existing settings
        Returns:
        a builder
      • getLibraryPath

        public String getLibraryPath​()
        Gets the library path for the embedded mongod
        Returns:
        the library path if set or null
      • getYamlConfig

        public String getYamlConfig​()
        Returns the yaml configuration for mongod.
        Returns:
        the yaml configuration for mongod
        MongoDB documentation
        reference/configuration-options/
      • getLogLevel

        public MongoEmbeddedLogLevel getLogLevel​()
        Gets the logging level for the embedded mongod
        Returns:
        the logging level