public final class Sequence extends Object
| 构造器和说明 |
|---|
Sequence(long workerId,
long datacenterId) |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
nextLong() |
static String |
nextString() |
static String |
nextString(String str) |
protected long |
tilNextMillis(long lastTimestamp) |
protected long |
timeGen() |
Copyright © 2018. All rights reserved.