Package com.mongodb.internal.connection
Class MessageSettings
- java.lang.Object
 - 
- com.mongodb.internal.connection.MessageSettings
 
 
- 
@Immutable @Deprecated(since="2021-05-27") public final class MessageSettings extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The message settings- Since:
 - 3.0
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageSettings.BuilderDeprecated.Usage of this API is not supported in AEM as a Cloud Service. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MessageSettings.Builderbuilder()Deprecated.Gets the builderintgetMaxBatchCount()Deprecated.Gets the maximum number of items in a batch allowed.intgetMaxDocumentSize()Deprecated.Gets the maximum document size allowed.intgetMaxMessageSize()Deprecated.Gets the maximum message size allowed.intgetMaxWireVersion()Deprecated.ServerTypegetServerType()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
builder
public static MessageSettings.Builder builder()
Deprecated.Gets the builder- Returns:
 - the builder
 
 
- 
getMaxDocumentSize
public int getMaxDocumentSize()
Deprecated.Gets the maximum document size allowed.- Returns:
 - the maximum document size allowed
 
 
- 
getMaxMessageSize
public int getMaxMessageSize()
Deprecated.Gets the maximum message size allowed.- Returns:
 - the maximum message size allowed
 
 
- 
getMaxBatchCount
public int getMaxBatchCount()
Deprecated.Gets the maximum number of items in a batch allowed.- Returns:
 - the maximum number of items in a batch allowed
 
 
- 
getMaxWireVersion
public int getMaxWireVersion()
Deprecated. 
- 
getServerType
public ServerType getServerType()
Deprecated. 
 - 
 
 -