Class MessageSettings

java.lang.Object
com.mongodb.internal.connection.MessageSettings

@Immutable @Deprecated(since="2021-05-27") public final class MessageSettings extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The message settings
Since:
3.0
  • Method Details

    • 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.