com.holonplatform.datastore.mongo.core.internal

## Class DefaultWriteConcernOption

- java.lang.Object
- - com.holonplatform.datastore.mongo.core.internal.DefaultWriteConcernOption

- All Implemented Interfaces:
    com.holonplatform.core.datastore.DatastoreOperations.WriteOption, WriteConcernOption

      public class DefaultWriteConcernOption
      extends Object
      implements WriteConcernOption

  Default `WriteConcernOption` implementation.
  Since:
    5.2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultWriteConcernOption(com.mongodb.WriteConcern writeConcern)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.mongodb.WriteConcern` | `getWriteConcern()` Get the MongoDB `WriteConcern` value.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.holonplatform.datastore.mongo.core.WriteConcernOption

      `create`

- - ### Constructor Detail

    - #### DefaultWriteConcernOption

          public DefaultWriteConcernOption(com.mongodb.WriteConcern writeConcern)

  - ### Method Detail

    - #### getWriteConcern

          public com.mongodb.WriteConcern getWriteConcern()

      Description copied from interface: `WriteConcernOption`
      Get the MongoDB `WriteConcern` value.
      Specified by:
        `getWriteConcern` in interface `WriteConcernOption`
      Returns:
        the MongoDB `WriteConcern` value

Copyright © 2019 The Holon Platform. All rights reserved.