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 | Field and Description |
---|---|
private java.util.List<MongoCompressor> |
ConnectionString.compressorList |
private java.util.List<MongoCompressor> |
MongoClientOptions.compressorList |
private java.util.List<MongoCompressor> |
MongoClientOptions.Builder.compressorList |
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(java.lang.String key,
T value)
Creates a new compressor from this compressor with the given property added to it.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<MongoCompressor> |
ConnectionString.buildCompressors(java.lang.String compressors,
java.lang.Integer zlibCompressionLevel) |
private java.util.List<MongoCompressor> |
ConnectionString.createCompressors(java.util.Map<java.lang.String,java.util.List<java.lang.String>> optionsMap) |
java.util.List<MongoCompressor> |
ConnectionString.getCompressorList()
Gets the list of compressors.
|
java.util.List<MongoCompressor> |
MongoClientOptions.getCompressorList()
Gets the compressors to use for compressing messages to the server.
|
Modifier and Type | Method and Description |
---|---|
MongoClientOptions.Builder |
MongoClientOptions.Builder.compressorList(java.util.List<MongoCompressor> compressorList)
Sets the compressors to use for compressing messages to the server.
|
Constructor and Description |
---|
MongoCompressor(MongoCompressor from,
java.lang.String propertyKey,
T propertyValue) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<MongoCompressor> |
MongoClientSettings.compressorList |
private java.util.List<MongoCompressor> |
MongoClientSettings.Builder.compressorList |
Modifier and Type | Method and Description |
---|---|
java.util.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(java.util.List<MongoCompressor> compressorList)
Sets the compressors to use for compressing messages to the server.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<MongoCompressor> |
DefaultClusterableServerFactory.compressorList |
private java.util.List<MongoCompressor> |
InternalStreamConnectionFactory.compressorList |
private java.util.List<MongoCompressor> |
InternalStreamConnection.compressorList |
private java.util.List<MongoCompressor> |
InternalStreamConnectionInitializer.requestedCompressors |
Modifier and Type | Method and Description |
---|---|
private Compressor |
InternalStreamConnection.createCompressor(MongoCompressor mongoCompressor) |
Modifier and Type | Method and Description |
---|---|
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,
java.util.List<MongoCompressor> compressorList)
Creates a cluster with the given settings.
|
private java.util.Map<java.lang.Byte,Compressor> |
InternalStreamConnection.createCompressorMap(java.util.List<MongoCompressor> compressorList) |
Constructor and Description |
---|
ZlibCompressor(MongoCompressor mongoCompressor) |
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,
java.util.List<MongoCompressor> compressorList) |
InternalStreamConnection(ServerId serverId,
StreamFactory streamFactory,
java.util.List<MongoCompressor> compressorList,
CommandListener commandListener,
InternalConnectionInitializer connectionInitializer) |
InternalStreamConnectionFactory(StreamFactory streamFactory,
java.util.List<MongoCredential> credentialList,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation,
java.util.List<MongoCompressor> compressorList,
CommandListener commandListener) |
InternalStreamConnectionInitializer(java.util.List<Authenticator> authenticators,
BsonDocument clientMetadataDocument,
java.util.List<MongoCompressor> requestedCompressors) |