| 构造器和说明 |
|---|
TimeIdClock() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCurrentTimestamp() |
static TimeIdClock |
getInstance() |
long |
nextTimestamp(long lastTimestamp) |
long |
setCurrentTimestamp() |
long |
setCurrentTimestamp(long timestamp) |
public static TimeIdClock 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.