Packages

p

org.mongodb.scala

connection

package connection

The connection package contains classes that manage connecting to MongoDB servers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. connection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ClusterSettings = com.mongodb.connection.ClusterSettings

    Settings for the cluster.

  2. type ConnectionPoolSettings = com.mongodb.connection.ConnectionPoolSettings

    All settings that relate to the pool of connections to a MongoDB server.

  3. type NettyTransportSettings = com.mongodb.connection.NettyTransportSettings

    TransportSettings for a Netty-based transport implementation.

    TransportSettings for a Netty-based transport implementation.

    Since

    4.11

  4. type ProxySettings = com.mongodb.connection.ProxySettings

    This setting is only applicable when communicating with a MongoDB server using the synchronous variant of MongoClient.

    This setting is only applicable when communicating with a MongoDB server using the synchronous variant of MongoClient.

    This setting is furthermore ignored if:

    • the communication is via com.mongodb.UnixServerAddress (Unix domain socket).
    • a StreamFactoryFactory is MongoClientSettings.Builder.streamFactoryFactory configured.
    Since

    4.11

    See also

    org.mongodb.scala.connection.SocketSettings

    org.mongodb.scala.AutoEncryptionSettings

    org.mongodb.scala.ClientEncryptionSettings

  5. type ServerSettings = com.mongodb.connection.ServerSettings

    Settings relating to monitoring of each server.

  6. type SocketSettings = com.mongodb.connection.SocketSettings

    An immutable class representing socket settings used for connections to a MongoDB server.

  7. type SslSettings = com.mongodb.connection.SslSettings

    Settings for connecting to MongoDB via SSL.

  8. type TransportSettings = com.mongodb.connection.TransportSettings

    Transport settings for the driver.

    Transport settings for the driver.

    Since

    4.11

Deprecated Type Members

  1. type AsynchronousSocketChannelStreamFactoryFactory = com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    See also

    java.nio.channels.AsynchronousSocketChannel

  2. type AsynchronousSocketChannelStreamFactoryFactoryBuilder = Builder

    A StreamFactoryFactory builder for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory builder for AsynchronousSocketChannel-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    2.2

    See also

    java.nio.channels.AsynchronousSocketChannel

  3. type NettyStreamFactoryFactory = com.mongodb.connection.netty.NettyStreamFactoryFactory

    A StreamFactoryFactory implementation for Netty-based streams.

    A StreamFactoryFactory implementation for Netty-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    2.2

  4. type NettyStreamFactoryFactoryBuilder = Builder

    A StreamFactoryFactory builder for Netty-based streams.

    A StreamFactoryFactory builder for Netty-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    2.2

  5. type StreamFactory = com.mongodb.connection.StreamFactory

    The factory for streams.

    The factory for streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

  6. type StreamFactoryFactory = com.mongodb.connection.StreamFactoryFactory

    A factory of StreamFactory instances.

    A factory of StreamFactory instances.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

  7. type TlsChannelStreamFactoryFactory = com.mongodb.connection.TlsChannelStreamFactoryFactory

    A StreamFactoryFactory that supports TLS/SSL.

    A StreamFactoryFactory that supports TLS/SSL.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    2.6

Value Members

  1. object ClusterSettings

    Settings for the cluster.

    Settings for the cluster.

    Since

    1.0

  2. object ConnectionPoolSettings

    All settings that relate to the pool of connections to a MongoDB server.

    All settings that relate to the pool of connections to a MongoDB server.

    Since

    1.0

  3. object NettyTransportSettings

    An immutable class representing Netty transport settings used for connections to a MongoDB server.

    An immutable class representing Netty transport settings used for connections to a MongoDB server.

    Since

    4.11

  4. object ProxySettings

    This setting is only applicable when communicating with a MongoDB server using the synchronous variant of MongoClient.

    This setting is only applicable when communicating with a MongoDB server using the synchronous variant of MongoClient.

    This setting is furthermore ignored if:

    • the communication is via com.mongodb.UnixServerAddress (Unix domain socket).
    • a StreamFactoryFactory is MongoClientSettings.Builder.streamFactoryFactory configured.
    Since

    4.11

    See also

    org.mongodb.scala.connection.SocketSettings

    org.mongodb.scala.AutoEncryptionSettings

    org.mongodb.scala.ClientEncryptionSettings

  5. object ServerSettings

    Settings relating to monitoring of each server.

    Settings relating to monitoring of each server.

    Since

    1.0

  6. object SocketSettings

    An immutable class representing socket settings used for connections to a MongoDB server.

    An immutable class representing socket settings used for connections to a MongoDB server.

    Since

    1.0

  7. object SslSettings

    Settings for connecting to MongoDB via SSL.

    Settings for connecting to MongoDB via SSL.

    Since

    1.0

  8. object TransportSettings

    An immutable class representing transport settings used for connections to a MongoDB server.

    An immutable class representing transport settings used for connections to a MongoDB server.

    Since

    4.11

Deprecated Value Members

  1. object AsynchronousSocketChannelStreamFactoryFactory

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    1.0

    See also

    java.nio.channels.AsynchronousSocketChannel

  2. object NettyStreamFactoryFactory

    A StreamFactoryFactory implementation for Netty-based streams.

    A StreamFactoryFactory implementation for Netty-based streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.11.0) For removal in 5.0

    Since

    1.0

Inherited from AnyRef

Inherited from Any

Ungrouped