Uses of Interface
cloud.opencode.base.id.IdGenerator
Packages that use IdGenerator
Package
Description
-
Uses of IdGenerator in cloud.opencode.base.id
Methods in cloud.opencode.base.id that return IdGeneratorModifier and TypeMethodDescriptionstatic IdGenerator<Long> OpenId.createSegmentGenerator(SegmentAllocator allocator) Creates a segment mode generator 创建号段模式生成器static IdGenerator<Long> OpenId.createSegmentGenerator(SegmentAllocator allocator, String bizTag) Creates a segment mode generator with business tag 使用业务标识创建号段模式生成器static IdGenerator<Long> OpenId.createSnowflake(long workerId, long datacenterId) Creates a Snowflake generator with worker and datacenter IDs 使用工作节点ID和数据中心ID创建雪花ID生成器static IdGenerator<String> OpenId.getKsuidGenerator()Gets the KSUID generator 获取KSUID生成器static IdGenerator<Long> OpenId.getSnowflake()Gets the default Snowflake generator 获取默认雪花ID生成器static IdGenerator<Long> OpenId.getTsidGenerator()Gets the default TSID generator 获取默认TSID生成器static IdGenerator<String> OpenId.getUlidGenerator()Gets the ULID generator 获取ULID生成器static IdGenerator<UUID> OpenId.getUuidV7Generator()Gets the UUID v7 generator 获取UUID v7生成器Methods in cloud.opencode.base.id with parameters of type IdGeneratorModifier and TypeMethodDescriptionstatic TypedIdGeneratorOpenId.typedIdGenerator(String prefix, IdGenerator<String> inner) Creates a TypedIdGenerator with the specified prefix and underlying generator 创建带指定前缀和底层生成器的TypedIdGenerator -
Uses of IdGenerator in cloud.opencode.base.id.ksuid
Classes in cloud.opencode.base.id.ksuid that implement IdGeneratorModifier and TypeClassDescriptionfinal classKSUID (K-Sortable Unique Identifier) Generator KSUID(K可排序唯一标识符)生成器 -
Uses of IdGenerator in cloud.opencode.base.id.nanoid
Classes in cloud.opencode.base.id.nanoid that implement IdGenerator -
Uses of IdGenerator in cloud.opencode.base.id.prefixed
Classes in cloud.opencode.base.id.prefixed that implement IdGeneratorModifier and TypeClassDescriptionfinal classTyped ID Generator - Wraps any string ID generator with a validated type prefix 类型化ID生成器 - 用验证过的类型前缀包装任意字符串ID生成器Methods in cloud.opencode.base.id.prefixed with parameters of type IdGeneratorModifier and TypeMethodDescriptionstatic TypedIdGeneratorTypedIdGenerator.of(String prefix, IdGenerator<String> inner) Creates a TypedIdGenerator with the given prefix and inner generator 使用给定前缀和内部生成器创建TypedIdGenerator -
Uses of IdGenerator in cloud.opencode.base.id.segment
Classes in cloud.opencode.base.id.segment that implement IdGeneratorModifier and TypeClassDescriptionfinal classSegment Mode ID Generator 号段模式ID生成器 -
Uses of IdGenerator in cloud.opencode.base.id.simple
Classes in cloud.opencode.base.id.simple that implement IdGeneratorModifier and TypeClassDescriptionfinal classAtomic Increment ID Generator 原子自增ID生成器final classRandom ID Generator 随机ID生成器final classTimestamp-based ID Generator 基于时间戳的ID生成器 -
Uses of IdGenerator in cloud.opencode.base.id.snowflake
Classes in cloud.opencode.base.id.snowflake that implement IdGeneratorModifier and TypeClassDescriptionfinal classJavaScript-Safe Snowflake ID Generator - IDs guaranteed to fit in JS Number.MAX_SAFE_INTEGER JavaScript安全雪花ID生成器 - ID保证在JS Number.MAX_SAFE_INTEGER范围内final classSnowflake ID Generator 雪花ID生成器 -
Uses of IdGenerator in cloud.opencode.base.id.tsid
Classes in cloud.opencode.base.id.tsid that implement IdGeneratorModifier and TypeClassDescriptionfinal classTSID (Time-Sorted ID) Generator TSID(时间排序ID)生成器 -
Uses of IdGenerator in cloud.opencode.base.id.ulid
Classes in cloud.opencode.base.id.ulid that implement IdGeneratorModifier and TypeClassDescriptionfinal classULID Generator - Universally Unique Lexicographically Sortable Identifier ULID生成器 - 通用唯一字典序可排序标识符 -
Uses of IdGenerator in cloud.opencode.base.id.uuid
Classes in cloud.opencode.base.id.uuid that implement IdGeneratorModifier and TypeClassDescriptionfinal classUUID Generator UUID生成器final classUUID v4 Generator UUID v4生成器final classUUID v7 Generator UUID v7生成器