ReadPreference

dappermongo.ReadPreference
See theReadPreference companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class HedgeOptions(enabled: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Nearest(maxStaleness: Option[Duration], tags: Option[Chunk[TagSet]], hedgeOptions: Option[HedgeOptions]) extends Taggable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Taggable
class Object
trait Matchable
class Any
Show all
case object Primary extends ReadPreference

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Primary.type
case class PrimaryPreferred(maxStaleness: Option[Duration], tags: Option[Chunk[TagSet]], hedgeOptions: Option[HedgeOptions]) extends Taggable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Taggable
class Object
trait Matchable
class Any
Show all
case class Secondary(maxStaleness: Option[Duration], tags: Option[Chunk[TagSet]], hedgeOptions: Option[HedgeOptions]) extends Taggable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Taggable
class Object
trait Matchable
class Any
Show all
case class SecondaryPreferred(maxStaleness: Option[Duration], tags: Option[Chunk[TagSet]], hedgeOptions: Option[HedgeOptions]) extends Taggable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Taggable
class Object
trait Matchable
class Any
Show all
abstract class Taggable(wrapped: ReadPreference, maxStaleness: Option[Duration], tags: Option[Chunk[TagSet]], hedgeOptions: Option[HedgeOptions]) extends ReadPreference

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Taggable

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Taggable.type

Value members

Concrete fields

val config: Config[ReadPreference]