Class StandardMistGenerator
java.lang.Object
icu.congee.id.generator.mist.StandardMistGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate()生成唯一编号static StandardMistGenerator获取StandardMistGenerator的单例实例idType()获取当前生成器的标识符类型Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icu.congee.id.base.IdGenerator
generate
-
Constructor Details
-
StandardMistGenerator
public StandardMistGenerator()
-
-
Method Details
-
generate
-
getInstance
获取StandardMistGenerator的单例实例- Returns:
- StandardMistGenerator实例
-
idType
Description copied from interface:IdGenerator获取当前生成器的标识符类型此方法用于标识生成器使用的具体ID生成策略。每个实现类都应该 返回一个对应其生成策略的IdType枚举值。
- Specified by:
idTypein interfaceIdGenerator- Returns:
- 当前生成器的标识符类型
-