@NotThreadSafe public static final class ClientSessionOptions.Builder extends java.lang.Object
ClientSession
Modifier and Type | Method and 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
Copyright © 2010 - 2020 Adobe. All Rights Reserved