public final class SnowflakeKit extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
init(long workerId) |
static void |
init(long datacenterId,
long workerId) |
static long |
longer() |
static long |
next() |
static String |
string() |
public static void init(long workerId)
public static void init(long datacenterId,
long workerId)
public static long next()
public static long longer()
public static String string()
Copyright © 2019. All rights reserved.