Object

com.mongodb.casbah

WriteConcern

Related Doc: package casbah

Permalink

object WriteConcern

Helper class for creating WriteConcern instances

Since

2.0

See also

JWriteConcern

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WriteConcern
  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 Acknowledged: mongodb.WriteConcern

    Permalink

    Write operations that use this write concern will wait for acknowledgement from the primary server before returning.

    Write operations that use this write concern will wait for acknowledgement from the primary server before returning. Exceptions are raised for network issues, and server errors.

    Since

    2.7

  5. val FsyncSafe: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues and server errors; Write operations wait for the server to flush data to disk

  6. val Fsynced: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues, and server errors; the write operation waits for the server to flush the data to disk.

    Exceptions are raised for network issues, and server errors; the write operation waits for the server to flush the data to disk.

    Since

    2.7

  7. val JournalSafe: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues, and server errors; the write operation waits for the server to group commit to the journal file on disk

  8. val Journaled: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues, and server errors; the write operation waits for the server to group commit to the journal file on disk.

    Exceptions are raised for network issues, and server errors; the write operation waits for the server to group commit to the journal file on disk.

    Since

    2.7

  9. val Majority: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues and server errors; waits on a majority of servers for the write operation

  10. val Normal: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues but not server errors.

  11. val ReplicaAcknowledged: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues, and server errors; waits for at least 2 servers for the write operation.

    Exceptions are raised for network issues, and server errors; waits for at least 2 servers for the write operation.

    Since

    2.7

  12. val ReplicasSafe: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues and server errors; waits for at least 2 servers for the write operation.

  13. val Safe: mongodb.WriteConcern

    Permalink

    Exceptions are raised for network issues and server errors; waits on a server for the write operation

  14. val Unacknowledged: mongodb.WriteConcern

    Permalink

    Write operations that use this write concern will return as soon as the message is written to the socket.

    Write operations that use this write concern will return as soon as the message is written to the socket. Exceptions are raised for network issues, but not server errors.

    Since

    2.7

  15. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def valueOf(name: String): Option[mongodb.WriteConcern]

    Permalink

    Get the WriteConcern constants by name: NONE, NORMAL, SAFE, MAJORITY, FSYNC_SAFE, JOURNAL_SAFE, REPLICAS_SAFE.

    Get the WriteConcern constants by name: NONE, NORMAL, SAFE, MAJORITY, FSYNC_SAFE, JOURNAL_SAFE, REPLICAS_SAFE. (matching is done case insensitively)

    NOTE: This only supports the java versions, no support for the local scala aliases.

  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped