sealed class ReplicaSet extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReplicaSet
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ReplicaSet(setName: String, me: String, primary: Option[String], hosts: Seq[String], passives: Seq[String], arbiters: Seq[String], isSecondary: Boolean, isArbiterOnly: Boolean, isPassive: Boolean, isHidden: Boolean, tags: Option[P.Document])
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.1) No longer a ReactiveMongo case class
-
new
ReplicaSet(setName: String, setVersion: Int, me: String, primary: Option[String], hosts: Seq[String], passives: Seq[String], arbiters: Seq[String], isSecondary: Boolean, isArbiterOnly: Boolean, isPassive: Boolean, isHidden: Boolean, tags: Option[P.Document], electionId: Int)
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.5) Use the constructor with lastWrite
-
new
ReplicaSet(setName: String, setVersion: Int, me: String, primary: Option[String], hosts: Seq[String], passives: Seq[String], arbiters: Seq[String], isSecondary: Boolean, isArbiterOnly: Boolean, isPassive: Boolean, isHidden: Boolean, tags: Option[P.Document], electionId: Int, lastWrite: Option[LastWrite])
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.1) Use the constructor with tag map
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ReplicaSet to any2stringadd[ReplicaSet] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ReplicaSet, B)
- Implicit
- This member is added by an implicit conversion from ReplicaSet to ArrowAssoc[ReplicaSet] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arbiters: Seq[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- ReplicaSet → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val electionId: Int
-
def
ensuring(cond: (ReplicaSet) ⇒ Boolean, msg: ⇒ Any): ReplicaSet
- Implicit
- This member is added by an implicit conversion from ReplicaSet to Ensuring[ReplicaSet] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ReplicaSet) ⇒ Boolean): ReplicaSet
- Implicit
- This member is added by an implicit conversion from ReplicaSet to Ensuring[ReplicaSet] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ReplicaSet
- Implicit
- This member is added by an implicit conversion from ReplicaSet to Ensuring[ReplicaSet] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ReplicaSet
- Implicit
- This member is added by an implicit conversion from ReplicaSet to Ensuring[ReplicaSet] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- ReplicaSet → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ReplicaSet to StringFormat[ReplicaSet] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val hashCode: Int
- val hosts: Seq[String]
- val isArbiterOnly: Boolean
- val isHidden: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isPassive: Boolean
- val isSecondary: Boolean
- val lastWrite: Option[LastWrite]
- val me: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val passives: Seq[String]
- val primary: Option[String]
-
val
productArity: Int
- Definition Classes
- ReplicaSet → Product
-
def
productElement(n: Int): Any
- Definition Classes
- ReplicaSet → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
val
productPrefix: String
- Definition Classes
- ReplicaSet → Product
- val setName: String
- val setVersion: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Map[String, String]
- lazy val toString: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (ReplicaSet, B)
- Implicit
- This member is added by an implicit conversion from ReplicaSet to ArrowAssoc[ReplicaSet] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
copy(setName: String = this.setName, me: String = this.me, primary: Option[String] = this.primary, hosts: Seq[String] = this.hosts, passives: Seq[String] = this.passives, arbiters: Seq[String] = this.arbiters, isSecondary: Boolean = this.isSecondary, isArbiterOnly: Boolean = this.isArbiterOnly, isPassive: Boolean = this.isPassive, isHidden: Boolean = this.isHidden, tags: Option[P.Document] = None): ReplicaSet
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.1) No longer a ReactiveMongo case class