JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
com.datastax.driver.core
Interface TimestampGenerator
All Known Implementing Classes:
AtomicMonotonicTimestampGenerator
,
ServerSideTimestampGenerator
,
ThreadLocalMonotonicTimestampGenerator
public interface
TimestampGenerator
Generates client-side, microsecond-precision query timestamps.
Given that Cassandra uses those timestamps to resolve conflicts, implementations should generate incrementing timestamps for successive implementations.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
long
next
()
Returns the next timestamp.
Method Detail
next
long next()
Returns the next timestamp.
Returns:
the next timestamp (in microseconds). If it equals
Long.MIN_VALUE
, it won't be sent by the driver, letting Cassandra generate a server-side timestamp.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method