Package com.mongodb
Class ClientSessionOptions
- java.lang.Object
 - 
- com.mongodb.ClientSessionOptions
 
 
- 
@Immutable @Deprecated(since="2021-05-27") public final class ClientSessionOptions extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The options to apply to aClientSession.- Since:
 - 3.6
 - See Also:
 ClientSession
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientSessionOptions.BuilderDeprecated.Usage of this API is not supported in AEM as a Cloud Service. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClientSessionOptions.Builderbuilder()Deprecated.Gets an instance of a builderstatic ClientSessionOptions.Builderbuilder(ClientSessionOptions options)Deprecated.Gets an instance of a builder initialized with the given optionsbooleanequals(java.lang.Object o)Deprecated.TransactionOptionsgetDefaultTransactionOptions()Deprecated.Gets the default transaction options for the session.inthashCode()Deprecated.java.lang.BooleanisCausallyConsistent()Deprecated.Whether operations using the session should causally consistent with each other.java.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
isCausallyConsistent
@Nullable public java.lang.Boolean 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
public TransactionOptions getDefaultTransactionOptions()
Deprecated.Gets the default transaction options for the session.- Returns:
 - the default transaction options for the session
 - Since:
 - 3.8
 
 
- 
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
Deprecated.- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
- 
builder
public static ClientSessionOptions.Builder builder()
Deprecated.Gets an instance of a builder- Returns:
 - a builder instance
 
 
- 
builder
public static ClientSessionOptions.Builder builder(ClientSessionOptions options)
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
 
 
 - 
 
 -