| Package | Description |
|---|---|
| com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
| com.mongodb.connection.netty |
This package contains netty specific classes
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousSocketChannelStreamFactory
Factory to create a Stream that's an AsynchronousSocketChannelStream.
|
class |
SocketStreamFactory
Factory for creating instances of
SocketStream. |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener) |
Cluster |
ClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener)
Creates a cluster with the given settings.
|
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener,
CommandListener commandListener)
Creates a cluster with the given settings.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NettyStreamFactory
A StreamFactory for Streams based on Netty 4.0
|
| Modifier and Type | Method and Description |
|---|---|
StreamFactory |
NettyStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |
Copyright © 2016. All Rights Reserved.