Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.connection.netty |
This package contains netty specific classes
|
Modifier and Type | Method and Description |
---|---|
SslSettings |
MongoClientSettings.getSslSettings()
Gets the SSL settings.
|
Modifier and Type | Method and Description |
---|---|
MongoClientSettings.Builder |
MongoClientSettings.Builder.sslSettings(SslSettings sslSettings)
Sets the socket settings.
|
Modifier and Type | Method and Description |
---|---|
SslSettings |
SslSettings.Builder.build()
Create a new SSLSettings from the settings in this builder.
|
Modifier and Type | Method and Description |
---|---|
StreamFactory |
StreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings)
Create a
StreamFactory with the given settings. |
StreamFactory |
AsynchronousSocketChannelStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |
Constructor and Description |
---|
AsynchronousSocketChannelStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Create a new factory.
|
SocketStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Creates a new factory with the given settings for connecting to servers and the given SSL settings
|
SocketStreamFactory(SocketSettings settings,
SslSettings sslSettings,
SocketFactory socketFactory)
Creates a new factory with the given settings for connecting to servers and a factory for creating connections.
|
Modifier and Type | Method and Description |
---|---|
StreamFactory |
NettyStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |
Constructor and Description |
---|
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Construct a new instance of the factory with a default allocator and event loop group.
|
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings,
io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.buffer.ByteBufAllocator allocator)
Construct a new instance of the factory.
|
Copyright © 2016. All Rights Reserved.