Package com.mongodb.internal.connection
Class MessageSettings
java.lang.Object
com.mongodb.internal.connection.MessageSettings
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The message settings
- Since:
- 3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageSettings.Builder
builder()
Deprecated.Gets the builderint
Deprecated.Gets the maximum number of items in a batch allowed.int
Deprecated.Gets the maximum document size allowed.int
Deprecated.Gets the maximum message size allowed.int
Deprecated.Deprecated.
-
Method Details
-
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
Deprecated.
-