TransactionOptions (original) (raw)

@Immutable
public final class TransactionOptions
extends Object
Options to apply to transactions. The default values for the options depend on context. For options specified per-transaction, the default values come from the default transaction options. For the default transaction options themselves, the default values come from the MongoClient on which the session was started.
Since:
3.8
See Also:
ClientSession, ClientSessionOptions
Since server release
4.0