Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Field and Description |
---|---|
private ReadConcernLevel |
ReadConcern.level |
Modifier and Type | Method and Description |
---|---|
static ReadConcernLevel |
ReadConcernLevel.fromString(java.lang.String readConcernLevel)
Returns the ReadConcern from the string read concern level.
|
ReadConcernLevel |
ReadConcern.getLevel()
Gets the read concern level.
|
static ReadConcernLevel |
ReadConcernLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadConcernLevel[] |
ReadConcernLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ReadConcern(ReadConcernLevel level)
Construct a new read concern
|
Modifier and Type | Method and Description |
---|---|
private static ReadConcernLevel |
ReadConcernHelper.getReadConcernLevel(ReadConcern readConcern,
SessionContext sessionContext) |