Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
com.datastax.driver.dse |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMonotonicTimestampGenerator
Base implementation for monotonic timestamp generators.
|
class |
AtomicMonotonicTimestampGenerator
A timestamp generator that guarantees monotonically increasing timestamps among all client
threads, and logs warnings when timestamps drift in the future.
|
class |
LoggingMonotonicTimestampGenerator
A monotonic timestamp generator that logs warnings when timestamps drift in the future (see this
class's constructors and
LoggingMonotonicTimestampGenerator.onDrift(long, long) for more information). |
class |
ServerSideTimestampGenerator
A timestamp generator that always returns
Long.MIN_VALUE , in order to let Cassandra
assign server-side timestamps. |
class |
ThreadLocalMonotonicTimestampGenerator
A timestamp generator that guarantees monotonically increasing timestamps on a per-thread basis,
and logs warnings when timestamps drift in the future.
|
Modifier and Type | Field and Description |
---|---|
static TimestampGenerator |
ServerSideTimestampGenerator.INSTANCE
The unique instance of this generator.
|
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator)
Configures the generator that will produce the client-side timestamp sent with each query.
|
Modifier and Type | Method and Description |
---|---|
static TimestampGenerator |
Policies.defaultTimestampGenerator()
The default timestamp generator.
|
TimestampGenerator |
Policies.getTimestampGenerator()
The timestamp generator to use.
|
Modifier and Type | Method and Description |
---|---|
Policies.Builder |
Policies.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator)
Sets the timestamp generator.
|
Modifier and Type | Method and Description |
---|---|
DseCluster.Builder |
DseCluster.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator) |
Copyright © 2012–2018. All rights reserved.