@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