Uses of Class
cloud.opencode.base.id.snowflake.SafeJsSnowflakeGenerator
Packages that use SafeJsSnowflakeGenerator
-
Uses of SafeJsSnowflakeGenerator in cloud.opencode.base.id
Methods in cloud.opencode.base.id that return SafeJsSnowflakeGeneratorModifier and TypeMethodDescriptionstatic SafeJsSnowflakeGeneratorOpenId.getSafeJsSnowflake()Gets the default JavaScript-safe Snowflake generator 获取默认JavaScript安全雪花ID生成器 -
Uses of SafeJsSnowflakeGenerator in cloud.opencode.base.id.snowflake
Methods in cloud.opencode.base.id.snowflake that return SafeJsSnowflakeGeneratorModifier and TypeMethodDescriptionstatic SafeJsSnowflakeGeneratorSafeJsSnowflakeGenerator.create()Creates a generator with workerId=0 and the default epoch 使用workerId=0和默认起始时间创建生成器static SafeJsSnowflakeGeneratorSafeJsSnowflakeGenerator.create(long workerId) Creates a generator with the specified workerId 使用指定workerId创建生成器static SafeJsSnowflakeGeneratorSafeJsSnowflakeGenerator.create(long workerId, long epochMillis) Creates a generator with specified workerId and epoch 使用指定workerId和起始时间创建生成器