Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
static MongoCompressor |
MongoCompressor.createSnappyCompressor()
Create an instance for snappy compression.
|
static MongoCompressor |
MongoCompressor.createZlibCompressor()
Create an instance for zlib compression.
|
<T> MongoCompressor |
MongoCompressor.withProperty(String key,
T value)
Creates a new compressor from this compressor with the given property added to it.
|
Modifier and Type | Method and Description |
---|---|
List<MongoCompressor> |
MongoClientOptions.getCompressorList()
Gets the compressors to use for compressing messages to the server.
|
List<MongoCompressor> |
ConnectionString.getCompressorList()
Gets the list of compressors.
|
Modifier and Type | Method and Description |
---|---|
MongoClientOptions.Builder |
MongoClientOptions.Builder.compressorList(List<MongoCompressor> compressorList)
Sets the compressors to use for compressing messages to the server.
|
Modifier and Type | Method and Description |
---|---|
List<MongoCompressor> |
MongoClientSettings.getCompressorList()
Gets the compressors to use for compressing messages to the server.
|
Modifier and Type | Method and Description |
---|---|
MongoClientSettings.Builder |
MongoClientSettings.Builder.compressorList(List<MongoCompressor> compressorList)
Sets the compressors to use for compressing messages to the server.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
DefaultClusterFactory.createCluster(ClusterSettings clusterSettings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
CommandListener commandListener,
String applicationName,
MongoDriverInformation mongoDriverInformation,
List<MongoCompressor> compressorList)
Creates a cluster with the given settings.
|
Copyright © 2018. All rights reserved.