@NotThreadSafe public static final class ClientSessionOptions.Builder extends Object
ClientSession
Modifier and Type | Method | Description |
---|---|---|
ClientSessionOptions |
buildβ() |
Build the session options instance.
|
ClientSessionOptions.Builder |
causallyConsistentβ(boolean causallyConsistent) |
Sets whether operations using the session should causally consistent with each other.
|
ClientSessionOptions.Builder |
defaultTransactionOptionsβ(TransactionOptions defaultTransactionOptions) |
Sets whether operations using the session should causally consistent with each other.
|
public ClientSessionOptions.Builder causallyConsistentβ(boolean causallyConsistent)
causallyConsistent
- whether operations using the session should be causally consistentpublic ClientSessionOptions.Builder defaultTransactionOptionsβ(TransactionOptions defaultTransactionOptions)
defaultTransactionOptions
- the default transaction options to use for all transactions on this session,public ClientSessionOptions buildβ()
ClientSessionOptions