Class ReadConcern
Represents a read concern.
- Inheritance
-
Read
Concern
- Implements
- Inherited Members
Constructors
- ReadConcern(Optional<ReadConcernLevel?>)
Initializes a new instance of the Read
Concern class.
Properties
- Available
Gets an available read concern.
- Default
Gets a default read concern.
- Is
Server Default Gets a value indicating whether this is the server's default read concern.
- Level
Gets the level.
- Linearizable
Gets a linearizable read concern.
- Local
Gets a local read concern.
- Majority
Gets a majority read concern.
- Snapshot
Gets a snapshot read concern.
Methods
- From
Bson Document(Bson Document) Creates a read concern from a document.
- To
Bson Document() Converts this read concern to a BsonDocument suitable to be sent to the server.
- To
String() Returns a string that represents this instance.
- With(Optional<ReadConcernLevel?>)
Returns a new instance of ReadConcern with some values changed.