package connection
The connection package contains classes that manage connecting to MongoDB servers.
- Alphabetic
- By Inheritance
- connection
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
AsynchronousSocketChannelStreamFactoryFactory = com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.- See also
java.nio.channels.AsynchronousSocketChannel
-
type
AsynchronousSocketChannelStreamFactoryFactoryBuilder = Builder
A
StreamFactoryFactory
builder for AsynchronousSocketChannel-based streams.A
StreamFactoryFactory
builder for AsynchronousSocketChannel-based streams.- Since
2.2
- See also
java.nio.channels.AsynchronousSocketChannel
-
type
ClusterSettings = com.mongodb.connection.ClusterSettings
Settings for the cluster.
-
type
ConnectionPoolSettings = com.mongodb.connection.ConnectionPoolSettings
All settings that relate to the pool of connections to a MongoDB server.
-
type
NettyStreamFactoryFactory = com.mongodb.connection.netty.NettyStreamFactoryFactory
A
StreamFactoryFactory
implementation for Netty-based streams.A
StreamFactoryFactory
implementation for Netty-based streams.- Since
2.2
-
type
NettyStreamFactoryFactoryBuilder = Builder
A
StreamFactoryFactory
builder for Netty-based streams.A
StreamFactoryFactory
builder for Netty-based streams.- Since
2.2
-
type
ServerSettings = com.mongodb.connection.ServerSettings
Settings relating to monitoring of each server.
-
type
SocketSettings = com.mongodb.connection.SocketSettings
An immutable class representing socket settings used for connections to a MongoDB server.
-
type
SslSettings = com.mongodb.connection.SslSettings
Settings for connecting to MongoDB via SSL.
-
type
StreamFactory = com.mongodb.connection.StreamFactory
The factory for streams.
-
type
StreamFactoryFactory = com.mongodb.connection.StreamFactoryFactory
A factory of
StreamFactory
instances. -
type
TlsChannelStreamFactoryFactory = com.mongodb.connection.TlsChannelStreamFactoryFactory
A
StreamFactoryFactory
that supports TLS/SSL.A
StreamFactoryFactory
that supports TLS/SSL.- Since
2.6
Value Members
-
object
AsynchronousSocketChannelStreamFactoryFactory
A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.- Since
1.0
- See also
java.nio.channels.AsynchronousSocketChannel
-
object
ClusterSettings
Settings for the cluster.
Settings for the cluster.
- Since
1.0
-
object
ConnectionPoolSettings
All settings that relate to the pool of connections to a MongoDB server.
All settings that relate to the pool of connections to a MongoDB server.
- Since
1.0
-
object
NettyStreamFactoryFactory
A
StreamFactoryFactory
implementation for Netty-based streams.A
StreamFactoryFactory
implementation for Netty-based streams.- Since
1.0
-
object
ServerSettings
Settings relating to monitoring of each server.
Settings relating to monitoring of each server.
- Since
1.0
-
object
SocketSettings
An immutable class representing socket settings used for connections to a MongoDB server.
An immutable class representing socket settings used for connections to a MongoDB server.
- Since
1.0
-
object
SslSettings
Settings for connecting to MongoDB via SSL.
Settings for connecting to MongoDB via SSL.
- Since
1.0
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: