@Immutable public final class ClientSessionOptions extends Object
ClientSession
.ClientSession
Modifier and Type | Class | Description |
---|---|---|
static class |
ClientSessionOptions.Builder |
A builder for instances of
ClientSession |
Modifier and Type | Method | Description |
---|---|---|
static ClientSessionOptions.Builder |
builderβ() |
Gets an instance of a builder
|
static ClientSessionOptions.Builder |
builderβ(ClientSessionOptions options) |
Gets an instance of a builder initialized with the given options
|
boolean |
equalsβ(Object o) |
|
TransactionOptions |
getDefaultTransactionOptionsβ() |
Gets the default transaction options for the session.
|
int |
hashCodeβ() |
|
Boolean |
isCausallyConsistentβ() |
Whether operations using the session should causally consistent with each other.
|
String |
toStringβ() |
@Nullable public Boolean isCausallyConsistentβ()
public TransactionOptions getDefaultTransactionOptionsβ()
public static ClientSessionOptions.Builder builderβ()
public static ClientSessionOptions.Builder builderβ(ClientSessionOptions options)
options
- the options with which to initialize the builder