com.mongodb.casbah

MongoOptions

object MongoOptions

Helper class for creating MongoOptions instances

Annotations
@deprecated
Deprecated

(Since version 2.7) Please use MongoClient and MongoClientOptions

Since

2.0

See also

com.mongodb.MongoOptions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Defaults: MongoOptions

  7. def apply(connectionsPerHost: Int = Defaults.connectionsPerHost, threadsAllowedToBlockForConnectionMultiplier: Int = ..., maxWaitTime: Int = Defaults.maxWaitTime, connectTimeout: Int = Defaults.connectTimeout, socketTimeout: Int = Defaults.socketTimeout, socketKeepAlive: Boolean = Defaults.socketKeepAlive, safe: Boolean = Defaults.safe, w: Int = Defaults.w, wTimeout: Int = Defaults.wtimeout, fsync: Boolean = Defaults.fsync, j: Boolean = Defaults.j, dbDecoderFactory: DBDecoderFactory = Defaults.dbDecoderFactory, dbEncoderFactory: DBEncoderFactory = Defaults.dbEncoderFactory, socketFactory: SocketFactory = Defaults.socketFactory, description: String = Defaults.description): Imports.MongoOptions

    Instantiate a new MongoOptions instance

    Instantiate a new MongoOptions instance

    connectionsPerHost

    # of connections allowed per host (pool size, per host)

    threadsAllowedToBlockForConnectionMultiplier

    Multiplier for connectiosnPerHost at # of threads that can block, default 5

    maxWaitTime

    wait time for a blocking thread for a connection from the pool, default 1000 * 60 * 2

    connectTimeout

    timeout in milliseconds, for establishing the socket connections, default 0 (infinite)

    socketTimeout

    timeout, passed to Socket.setSoTimeout, default 0

    socketKeepAlive

    if socket keep alive is enabled, default false

    safe

    if true use a WriteConcern of WriteConcern.SAFE for all operations

    w

    The "w" value, (number of writes), of the global WriteConcern

    wTimeout

    The "wtimeout" value of the global WriteConcern

    fsync

    The "fsync" value of the global WriteConcern, true indicates writes should wait for data to be written to server data file

    j

    The "j" value of the global WriteConcern, true indicates writes should wait for a journaling group commit

    dbDecoderFactory

    the default decoder factory

    dbEncoderFactory

    the default encoder factory

    socketFactory

    sets the socket factory for creating sockets to mongod

    description

    The description for Mongo instances created with these options

    returns

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped