ConnectionManager class

Constructors

ConnectionManager(Db db)

Properties

db → Db
final
hashCode → int
The hash code for this object.
no setterinherited
masterConnection → Connection?
no setter
masterConnectionVerified → Connection
no setter
replyCompleters → Map<int, Completer<MongoResponseMessage>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendQueue → Queue<MongoMessage>
final

Methods

addConnection(ServerConfig serverConfig) → void
close() → Future
getMasterConnectionIfAvailable() → Connection?
getSecondaryConnection() → Connection?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(WriteConcern writeConcern) → Future<void>
removeConnection(Connection connection) → Connection?
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited