public class ServerSideTimestampGenerator extends Object implements TimestampGenerator
Long.MIN_VALUE
, in order to let Cassandra
assign server-side timestamps.Modifier and Type | Field and Description |
---|---|
static TimestampGenerator |
INSTANCE
The unique instance of this generator.
|
public static final TimestampGenerator INSTANCE
public long next()
TimestampGenerator
next
in interface TimestampGenerator
Long.MIN_VALUE
, it won't be
sent by the driver, letting Cassandra generate a server-side timestamp.