public final class DefaultClockSeqFunction extends Object implements ClockSeqFunction
ClockSeqFunction| Modifier and Type | Field and Description |
|---|---|
protected static com.github.f4b6a3.uuid.factory.function.impl.DefaultClockSeqFunction.ClockSeqPool |
POOL
The pool of clock sequence numbers.
|
| Constructor and Description |
|---|
DefaultClockSeqFunction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
applyAsLong(long timestamp) |
int |
next()
Get the next random clock sequence number.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRandom, toExpectedRangeandThen, compose, identityprotected static final com.github.f4b6a3.uuid.factory.function.impl.DefaultClockSeqFunction.ClockSeqPool POOL
public long applyAsLong(long timestamp)
applyAsLong in interface LongUnaryOperatorpublic int next()
Copyright © 2024. All rights reserved.