@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