|Modifier and Type||Field and Description|
The unique instance of this generator.
public static final TimestampGenerator INSTANCE
public long next()
Implementors should enforce increasing monotonicity of timestamps, that is, a timestamp returned should always be strictly greater that any previously returned timestamp.
Implementors should strive to achieve microsecond precision in the best possible way, which is usually largely dependent on the underlying operating system's capabilities.
Copyright © 2012–2021. All rights reserved.