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 |
---|---|
private static StreamFactory |
MongoClients.getStreamFactory(StreamFactoryFactory streamFactoryFactory,
SocketSettings socketSettings,
SslSettings sslSettings,
java.lang.String streamType) |
Modifier and Type | Method and Description |
---|---|
(package private) static MongoClient |
MongoClients.createMongoClient(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.io.Closeable externalResourceCloser) |
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 | Field and Description |
---|---|
private StreamFactory |
DefaultClusterableServerFactory.heartbeatStreamFactory |
private StreamFactory |
InternalStreamConnectionFactory.streamFactory |
private StreamFactory |
InternalStreamConnection.streamFactory |
private StreamFactory |
DefaultClusterableServerFactory.streamFactory |
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,
java.util.List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener) |
Cluster |
ClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.util.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,
java.util.List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener,
CommandListener commandListener)
|
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.util.List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener,
CommandListener commandListener,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation)
|
Cluster |
DefaultClusterFactory.createCluster(ClusterSettings clusterSettings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.util.List<MongoCredential> credentialList,
CommandListener commandListener,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation)
Creates a cluster with the given settings.
|
Constructor and Description |
---|
DefaultClusterableServerFactory(ClusterId clusterId,
ClusterSettings clusterSettings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.util.List<MongoCredential> credentialList,
CommandListener commandListener,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation) |
InternalStreamConnection(ServerId serverId,
StreamFactory streamFactory,
InternalConnectionInitializer connectionInitializer) |
InternalStreamConnectionFactory(StreamFactory streamFactory,
java.util.List<MongoCredential> credentialList,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation) |
Modifier and Type | Class and Description |
---|---|
class |
NettyStreamFactory
A StreamFactory for Streams based on Netty 4.x.
|
Modifier and Type | Method and Description |
---|---|
StreamFactory |
NettyStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |