Packages

case class LongevityConfig(backEnd: BackEnd, modelVersion: Option[String], 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

modelVersion

the domain model version. None whenever the model is unversioned

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, modelVersion: Option[String], 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

    modelVersion

    the domain model version. None whenever the model is unversioned

    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

    should longevity automatically create schema when the connection is opened?

    should longevity automatically create schema when the connection is opened?

    Definition Classes
    LongevityConfig → PersistenceConfig
  8. val autoOpenConnection: Boolean

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

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

    Definition Classes
    LongevityConfig → PersistenceConfig
  9. val backEnd: BackEnd
  10. val cassandra: CassandraConfig
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @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
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val jdbc: JdbcConfig
  22. val modelVersion: Option[String]

    the domain model version.

    the domain model version. None whenever the model is unversioned

    Definition Classes
    LongevityConfig → PersistenceConfig
  23. val mongodb: MongoDBConfig
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. val optimisticLocking: Boolean

    is optimistic locking turned on?

    is optimistic locking turned on?

    Definition Classes
    LongevityConfig → PersistenceConfig
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val test: TestConfig
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. val writeTimestamps: Boolean

    stamp rows with createdTimestamp and updatedTimestamp?

    stamp rows with createdTimestamp and updatedTimestamp?

    Definition Classes
    LongevityConfig → PersistenceConfig
  34. 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