object DbConfig
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DbConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class H2(config: Config, parameters: DbParametersConfig = DbParametersConfig()) extends ModifiableDbConfig[H2] with Product with Serializable
- final case class Postgres(config: Config, parameters: DbParametersConfig = DbParametersConfig()) extends ModifiableDbConfig[Postgres] with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def configWithFallback(dbConfig: DbConfig)(numThreads: PositiveInt, poolName: String, logger: TracedLogger)(implicit traceContext: TraceContext): Config
Apply default values to the given db config
- val defaultConnectionTimeout: NonNegativeFiniteDuration
- val defaultFailedToFatalDelay: NonNegativeFiniteDuration
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val h2MigrationsPathDev: String
- val h2MigrationsPathStable: String
- def h2Url(dbName: String): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hideConfidential(config: Config): Config
strip the password and the url out of the config object
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val postgresMigrationsPathDev: String
- val postgresMigrationsPathStable: String
- def postgresUrl(host: String, port: Int, dbName: String): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toConfig(map: Map[String, Any]): Config
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeH2UrlIfNotSet(c: Config): Config
if the URL is not set, we build one here (assuming that config.properties.databaseName is set and should be used as the file name)
- object H2 extends Serializable
- object Postgres extends Serializable