Packages

case class LongevityConfig(backEnd: BackEnd, autoOpenConnection: Boolean, autoCreateSchema: Boolean, optimisticLocking: Boolean, writeTimestamps: Boolean, cassandra: CassandraConfig, mongodb: MongoDBConfig, jdbc: JdbcConfig, test: TestConfig) extends PersistenceConfig with Product with Serializable

the longevity configuration. see the reference.conf resource file for all the longevity config settings, and their defaults.

backEnd

the back end used by the longevity context

autoOpenConnection

should longevity automatically open the connection when the repositories are created?

autoCreateSchema

should longevity autocreate schema when the connection is opened?

optimisticLocking

is optimistic locking turned on?

cassandra

the cassandra configuration

mongodb

the mongo configuration

jdbc

the JDBC configuration. used by the SQLite back end

test

the test configuration

Source
LongevityConfig.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, PersistenceConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongevityConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PersistenceConfig
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LongevityConfig(backEnd: BackEnd, autoOpenConnection: Boolean, autoCreateSchema: Boolean, optimisticLocking: Boolean, writeTimestamps: Boolean, cassandra: CassandraConfig, mongodb: MongoDBConfig, jdbc: JdbcConfig, test: TestConfig)

    backEnd

    the back end used by the longevity context

    autoOpenConnection

    should longevity automatically open the connection when the repositories are created?

    autoCreateSchema

    should longevity autocreate schema when the connection is opened?

    optimisticLocking

    is optimistic locking turned on?

    cassandra

    the cassandra configuration

    mongodb

    the mongo configuration

    jdbc

    the JDBC configuration. used by the SQLite back end

    test

    the test configuration

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LongevityConfig to any2stringadd[LongevityConfig] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LongevityConfig, B)
    Implicit
    This member is added by an implicit conversion from LongevityConfig to ArrowAssoc[LongevityConfig] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val autoCreateSchema: Boolean
    Definition Classes
    LongevityConfig → PersistenceConfig
  8. val autoOpenConnection: Boolean
    Definition Classes
    LongevityConfig → PersistenceConfig
  9. val backEnd: BackEnd
  10. val cassandra: CassandraConfig
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ensuring(cond: (LongevityConfig) ⇒ Boolean, msg: ⇒ Any): LongevityConfig
    Implicit
    This member is added by an implicit conversion from LongevityConfig to Ensuring[LongevityConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (LongevityConfig) ⇒ Boolean): LongevityConfig
    Implicit
    This member is added by an implicit conversion from LongevityConfig to Ensuring[LongevityConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): LongevityConfig
    Implicit
    This member is added by an implicit conversion from LongevityConfig to Ensuring[LongevityConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): LongevityConfig
    Implicit
    This member is added by an implicit conversion from LongevityConfig to Ensuring[LongevityConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LongevityConfig to StringFormat[LongevityConfig] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val jdbc: JdbcConfig
  22. val mongodb: MongoDBConfig
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. val optimisticLocking: Boolean
    Definition Classes
    LongevityConfig → PersistenceConfig
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val test: TestConfig
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val writeTimestamps: Boolean
    Definition Classes
    LongevityConfig → PersistenceConfig
  33. def [B](y: B): (LongevityConfig, B)
    Implicit
    This member is added by an implicit conversion from LongevityConfig to ArrowAssoc[LongevityConfig] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PersistenceConfig

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LongevityConfig to any2stringadd[LongevityConfig]

Inherited by implicit conversion StringFormat from LongevityConfig to StringFormat[LongevityConfig]

Inherited by implicit conversion Ensuring from LongevityConfig to Ensuring[LongevityConfig]

Inherited by implicit conversion ArrowAssoc from LongevityConfig to ArrowAssoc[LongevityConfig]

Ungrouped