package nodeset
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
Authenticate
(db: String, user: String, password: String) extends Authentication with Product with Serializable
- db
the name of the database
- user
the name of the user
- password
the password for the user
- case class Authenticated (db: String, user: String) extends Authentication with Product with Serializable
- sealed trait Authenticating extends Authentication
- sealed trait Authentication extends AnyRef
- sealed trait CanonicalNodeStatus extends AnyRef
- case class Connection (channel: Channel, status: ConnectionStatus, authenticated: Set[Authenticated], authenticating: Option[Authenticating]) extends Product with Serializable
- sealed trait ConnectionStatus extends AnyRef
- case class CrAuthenticating (db: String, user: String, password: String, nonce: Option[String]) extends Authenticating with Product with Serializable
-
case class
NodeInfo
(name: String, aliases: Set[String], host: String, port: Int, status: NodeStatus, connections: Int, connected: Int, authenticated: Int, tags: Option[BSONDocument], protocolMetadata: ProtocolMetadata, pingInfo: PingInfo, isMongos: Boolean) extends Product with Serializable
- connections
the number of all the node connections
- connected
the number of established connections for this node
- authenticated
the number of authenticated connections
-
case class
NodeSet
(name: Option[String], version: Option[Long], nodes: Vector[Node], authenticates: Set[Authenticate]) extends Product with Serializable
- Annotations
- @SerialVersionUID()
- case class NodeSetInfo (name: Option[String], version: Option[Long], nodes: Vector[NodeInfo], primary: Option[NodeInfo], mongos: Option[NodeInfo], secondaries: Vector[NodeInfo], nearest: Option[NodeInfo]) extends Product with Serializable
- sealed trait NodeStatus extends AnyRef
-
case class
PingInfo
(ping: Long = Long.MaxValue, lastIsMasterTime: Long = 0, lastIsMasterId: Int = 1) extends Product with Serializable
- ping
the response delay for the last IsMaster request (duration between request and its response, or
Long.MaxValue
)- lastIsMasterTime
the timestamp when the last IsMaster request has been sent (or 0)
- lastIsMasterId
the ID of the last IsMaster request (or -1 if none)
- case class ProtocolMetadata (minWireVersion: MongoWireVersion, maxWireVersion: MongoWireVersion, maxMessageSizeBytes: Int, maxBsonSize: Int, maxBulkSize: Int) extends Product with Serializable
- sealed trait QueryableNodeStatus extends AnyRef
- case class ScramSha1Authenticating (db: String, user: String, password: String, randomPrefix: String, saslStart: String, conversationId: Option[Int] = None, serverSignature: Option[Array[Byte]] = None, step: Int = 0) extends Authenticating with Product with Serializable
-
final
class
ChannelFactory
extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 0.11.14) Internal class: will be made private
-
class
ContinuousIterator
[A] extends Iterator[A]
- Annotations
- @deprecated
- Deprecated
(Since version 0.11.14) Internal class: will be made private
-
case class
Node
(name: String, status: NodeStatus, connections: Vector[Connection], authenticated: Set[Authenticated], tags: Option[BSONDocument], protocolMetadata: ProtocolMetadata, pingInfo: PingInfo = PingInfo(), isMongos: Boolean = false) extends Product with Serializable
- name
the main name of the node
- Annotations
- @deprecated @SerialVersionUID()
- Deprecated
(Since version 0.11.10) Will be made private
-
class
RoundRobiner
[A, M[T] <: Iterable[T]] extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 0.11.10) Will be made private
Value Members
- object Authenticating
- object ConnectionStatus
- object NodeStatus
- object PingInfo extends Serializable
- object ProtocolMetadata extends Serializable