Package com.mongodb
Class ClientSessionOptions
java.lang.Object
com.mongodb.ClientSessionOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options to apply to a
ClientSession
.- Since:
- 3.6
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientSessionOptions.Builder
builder()
Deprecated.Gets an instance of a builderstatic ClientSessionOptions.Builder
builder
(ClientSessionOptions options) Deprecated.Gets an instance of a builder initialized with the given optionsboolean
Deprecated.Deprecated.Gets the default transaction options for the session.int
hashCode()
Deprecated.Deprecated.Whether operations using the session should causally consistent with each other.toString()
Deprecated.
-
Method Details
-
isCausallyConsistent
Deprecated.Whether operations using the session should causally consistent with each other.- Returns:
- whether operations using the session should be causally consistent. A null value indicates to use the global default, which is currently true.
-
getDefaultTransactionOptions
Deprecated.Gets the default transaction options for the session.- Returns:
- the default transaction options for the session
- Since:
- 3.8
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
builder
Deprecated.Gets an instance of a builder- Returns:
- a builder instance
-
builder
Deprecated.Gets an instance of a builder initialized with the given options- Parameters:
options
- the options with which to initialize the builder- Returns:
- a builder instance
- Since:
- 3.8
-