public interface TimestampGenerator
Given that Cassandra uses those timestamps to resolve conflicts, implementations should generate incrementing timestamps for successive implementations.
Modifier and Type | Method and Description |
---|---|
long |
next()
Returns the next timestamp.
|
long next()
Long.MIN_VALUE
, it won't be
sent by the driver, letting Cassandra generate a server-side timestamp.Copyright © 2012–2015. All rights reserved.