Structureswift-mongodb 0.27.0MongoDriver->Mongo
ConnectionPoolSettings
Mongo.ConnectionPoolSettings.swift:4@frozen struct ConnectionPoolSettings
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (58) members.
Protocols
protocol ExecutionPolicy
protocol Failpoint
protocol ImplicitSessionCommand<Response>
A type that can encode a MongoDB command that can be run as part of a session, which can be implicitly generated if the command is sent to a deployment at large.
protocol IterableCommand<Element>
protocol MonitorEventType
protocol RetryableError
protocol TransactableCommand<Response>
Types
enum AbortionStatus
An outcome of aborting a
Transaction
.struct AuthenticationError
struct AuthenticationUnsupportedError
struct ClusterTime
enum CommitStatus
An outcome of committing a
Transaction
.enum ConfigureFailpoint<Options>
The MongoDB
configureFailPoint
command.class Connection
A connection to a server that was created from a connection pool.
actor ConnectionPool
A thread-safe reference type that maintains connections to a particular
mongod
ormongos
host, services connection requests, and serves as a delegate for a server monitoring task.struct ConnectionPoolDrainedError
struct ConnectionPoolTimeoutError
struct Cursor<BatchElement>
struct CursorIdentifierError
struct CursorIterator
A cursor iterable is an immutable (but non-
Sendable
) structure containing all of the information needed toget(more:)
data from a server.enum CursorLifecycle
struct Deadlines
actor Deployment
A type that models the state of a MongoDB deployment.
struct DeploymentStateError<Underlying>
struct DriverTimeoutError
A command was timed-out by the driver because the its deadline has already passed.
struct FailCommand
See: https://github.com/mongodb/mongo/wiki/The-%22failCommand%22-fail-point
struct GetMore<Element>
struct KillCursors
struct KillCursorsResponse
struct MonitorEvent<Type>
enum MonitorService
struct Ping
The MongoDB
ping
command.enum PolicyError
enum ReadPreference
struct ReadPreferenceError
struct RefreshSessions
struct ReplicaSetConfiguration
struct ReplicaSetGetConfiguration
struct Reply
enum ReplyError
struct SASLConversationError
struct ServerError
class Session
Tracks a session on a MongoDB server. Sessions have reference semantics.
struct SessionIdentifier
struct SessionLabels
Labels to be added to a command run as part of a logical session.
actor SessionPool
An interface for creating driver sessions.
struct SessionsUnsupportedError
class SnapshotSession
struct TopologyVersion
struct Transaction
struct TransactionInProgressError
enum TransactionLabels
enum TransactionPhase
enum TransactionResult<Success>
struct TransactionState
struct TransactionsUnsupportedError
struct VersionRequirementError
Typealiases
Citizens in MongoDriver
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Sendable
Type members
Instance members
let rate: Int
The maximum number of connections a pool can establish concurrently.
let size: ClosedRange<Int>
The target size of a connection pool. The pool will attempt to expand until it contains at least the minimum number of connections, and it will never exceed the maximum connection count.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.