com.holonplatform.datastore.mongo.core.tx

## Interface MongoTransactionOptions

- All Superinterfaces:
    com.holonplatform.core.datastore.transaction.TransactionOptions

      public interface MongoTransactionOptions
      extends com.holonplatform.core.datastore.transaction.TransactionOptions

  `MongoTransaction` configuration options.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<MongoReadConcern>` | `getReadConcern()` Get the read concern to use with the transaction, if configured.
    `Optional<MongoReadPreference>` | `getReadPreference()` Get the read preference to use with the transaction, if configured.
    `Optional<MongoWriteConcern>` | `getWriteConcern()` Get the write concern to use with the transaction, if configured.

- - ### Method Detail

    - #### getReadConcern

          Optional<MongoReadConcern> getReadConcern()

      Get the read concern to use with the transaction, if configured.
      Returns:
        Optional transaction read concern

    - #### getWriteConcern

          Optional<MongoWriteConcern> getWriteConcern()

      Get the write concern to use with the transaction, if configured.
      Returns:
        Optional transaction write concern

    - #### getReadPreference

          Optional<MongoReadPreference> getReadPreference()

      Get the read preference to use with the transaction, if configured.
      Returns:
        Optional transaction read preference

Copyright © 2019 The Holon Platform. All rights reserved.