Object

com.mongodb.casbah

MongoOptions

Related Doc: package casbah

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Defaults: mongodb.MongoOptions

    Permalink
  5. 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

    Permalink

    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

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped