c

org.bitcoins.db

DbAppConfig

abstract class DbAppConfig extends AppConfig

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DbAppConfig
  2. AppConfig
  3. Logging
  4. StartStopAsync
  5. StartStop
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DbAppConfig()

Type Members

  1. abstract type ConfigType <: AppConfig

    Sub members of AppConfig should override this type with the type of themselves, ensuring withOverrides return the correct type

    Sub members of AppConfig should override this type with the type of themselves, ensuring withOverrides return the correct type

    Attributes
    protected[bitcoins]
    Definition Classes
    AppConfig

Abstract Value Members

  1. abstract def baseDatadir: Path

    The base data directory.

    The base data directory. This is where we look for a configuration file

    Attributes
    protected[bitcoins]
    Definition Classes
    AppConfig
  2. abstract def configOverrides: List[Config]

    List of user-provided configs that should override defaults

    List of user-provided configs that should override defaults

    Attributes
    protected[bitcoins]
    Definition Classes
    AppConfig
  3. abstract def newConfigOfType(configOverrides: Seq[Config]): ConfigType

    Constructor to make a new instance of this config type

    Constructor to make a new instance of this config type

    Attributes
    protected[bitcoins]
    Definition Classes
    AppConfig

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val chain: BitcoinChainParams

    Chain parameters for the blockchain we're on

    Chain parameters for the blockchain we're on

    Definition Classes
    AppConfig
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. lazy val config: Config
    Attributes
    protected
    Definition Classes
    AppConfig
  8. lazy val datadir: Path

    The network specific data directory.

    The network specific data directory.

    Definition Classes
    AppConfig
  9. lazy val dbHost: String

    The host of our postgresql database

  10. lazy val dbName: String

    The name of our database

  11. lazy val dbPath: Path

    The path where our DB is located

  12. lazy val dbPort: Int

    The port number of our postgresql database

  13. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. lazy val driver: DatabaseDriver
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def getConfigString(path: String): String
    Definition Classes
    AppConfig
  25. def getConfigStringOpt(path: String): Option[String]
    Definition Classes
    AppConfig
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. lazy val hikariLoggingInterval: Option[Duration]

    Gets how often we should log hikari connection pool stats if None, this means isHikariLoggingEnabled is not enabled

  28. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. lazy val isHikariLoggingEnabled: Boolean
  34. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  37. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  38. lazy val jdbcUrl: String
  39. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  40. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. lazy val network: BitcoinNetwork

    The blockchain network we're on

    The blockchain network we're on

    Definition Classes
    AppConfig
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. lazy val schemaName: Option[String]
  46. lazy val slickDbConfig: DatabaseConfig[JdbcProfile]
  47. def start(): Future[Unit]

    Starts this project.

    Starts this project. After this future resolves, all operations should be able to be performed correctly.

    Starting may include creating database tables, making directories or files needed later or something else entirely.

    Definition Classes
    AppConfigStartStop
  48. def stop(): Future[Unit]

    Releases the thread pool associated with this AppConfig's DB

    Releases the thread pool associated with this AppConfig's DB

    Definition Classes
    DbAppConfigStartStop
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def withOverrides(config: Config, configs: Config*): ConfigType

    This method returns a new AppConfig, where every key under bitcoin-s overrides the configuration picked up by other means (the reference.conf provided by bitcoin-s and the application.conf provided by the user).

    This method returns a new AppConfig, where every key under bitcoin-s overrides the configuration picked up by other means (the reference.conf provided by bitcoin-s and the application.conf provided by the user). If you pass in configs with overlapping keys (e.g. several configs with the key bitcoin-s.network), the latter config overrides the first.

    Definition Classes
    AppConfig

Inherited from AppConfig

Inherited from Logging

Inherited from StartStopAsync[Unit]

Inherited from StartStop[Future[Unit]]

Inherited from AnyRef

Inherited from Any

Ungrouped