public interface UidGenerator
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultUidGenerator.DefaultUidGeneratorBuilder |
defaultUidGeneratorBuilder()
创建DefaultUidGenerator
|
long |
getUID()
Get a unique ID
|
java.lang.String |
parseUID(long uid)
Parse the UID into elements which are used to generate the UID.
|
long getUID()
throws UidGenerateException
UidGenerateExceptionjava.lang.String parseUID(long uid)
uid - static DefaultUidGenerator.DefaultUidGeneratorBuilder defaultUidGeneratorBuilder()