Uses of Interface
com.datastax.driver.core.TimestampGenerator
-
Packages that use TimestampGenerator Package Description com.datastax.driver.core The main package for the Java Driver for Cassandra.com.datastax.driver.core.policies Policies that allow to control some of the behavior of the ScyllaDB Java driver. -
-
Uses of TimestampGenerator in com.datastax.driver.core
Classes in com.datastax.driver.core that implement TimestampGenerator Modifier and Type Class Description classAbstractMonotonicTimestampGeneratorBase implementation for monotonic timestamp generators.classAtomicMonotonicTimestampGeneratorA timestamp generator that guarantees monotonically increasing timestamps among all client threads, and logs warnings when timestamps drift in the future.classLoggingMonotonicTimestampGeneratorA monotonic timestamp generator that logs warnings when timestamps drift in the future (see this class's constructors andLoggingMonotonicTimestampGenerator.onDrift(long, long)for more information).classServerSideTimestampGeneratorA timestamp generator that always returnsLong.MIN_VALUE, in order to let Cassandra assign server-side timestamps.classThreadLocalMonotonicTimestampGeneratorA timestamp generator that guarantees monotonically increasing timestamps on a per-thread basis, and logs warnings when timestamps drift in the future.Fields in com.datastax.driver.core declared as TimestampGenerator Modifier and Type Field Description static TimestampGeneratorServerSideTimestampGenerator. INSTANCEThe unique instance of this generator.Methods in com.datastax.driver.core with parameters of type TimestampGenerator Modifier and Type Method Description Cluster.BuilderCluster.Builder. withTimestampGenerator(TimestampGenerator timestampGenerator)Configures the generator that will produce the client-side timestamp sent with each query. -
Uses of TimestampGenerator in com.datastax.driver.core.policies
Methods in com.datastax.driver.core.policies that return TimestampGenerator Modifier and Type Method Description static TimestampGeneratorPolicies. defaultTimestampGenerator()The default timestamp generator.TimestampGeneratorPolicies. getTimestampGenerator()The timestamp generator to use.Methods in com.datastax.driver.core.policies with parameters of type TimestampGenerator Modifier and Type Method Description Policies.BuilderPolicies.Builder. withTimestampGenerator(TimestampGenerator timestampGenerator)Sets the timestamp generator.
-