| 构造器和说明 |
|---|
SeqIdClock() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCurrentTimestamp() |
static SeqIdClock |
getInstance() |
long |
nextTimestamp(long lastTimestamp) |
long |
setCurrentTimestamp() |
long |
setCurrentTimestamp(long timestamp) |
public static SeqIdClock getInstance()
public long setCurrentTimestamp()
setCurrentTimestamp 在接口中 IdClockpublic long setCurrentTimestamp(long timestamp)
setCurrentTimestamp 在接口中 IdClockpublic long getCurrentTimestamp()
getCurrentTimestamp 在接口中 IdClockpublic long nextTimestamp(long lastTimestamp)
nextTimestamp 在接口中 IdClockCopyright © 2025 fossc. All rights reserved.