Index

A B C D E F G H I J K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

allocate(String) - Method in class cloud.opencode.base.id.segment.JdbcSegmentAllocator
 
allocate(String) - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
 
allocate(String) - Method in interface cloud.opencode.base.id.segment.SegmentAllocator
Allocates a segment for the given business tag 为给定业务标识分配号段
alphabet(Alphabet) - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Sets the alphabet using predefined enum 使用预定义枚举设置字母表
alphabet(String) - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Sets the alphabet 设置字母表
Alphabet - Enum Class in cloud.opencode.base.id.nanoid
Predefined Alphabets for NanoID NanoID预定义字母表
ALPHABETIC - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Alphabetic only 仅字母
ALPHANUMERIC - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Alphanumeric alphabet 字母数字字母表
ALPHANUMERIC - Static variable in class cloud.opencode.base.id.simple.RandomIdGenerator
Alphanumeric characters 字母数字字符
analyzeCollision(long, String) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Analyzes collision risk and provides recommendations 分析碰撞风险并提供建议
analyzeCollision(long, String, double) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Analyzes collision risk with custom target probability 使用自定义目标概率分析碰撞风险
assignDatacenterId() - Method in class cloud.opencode.base.id.snowflake.IpBasedAssigner
 
assignDatacenterId() - Method in class cloud.opencode.base.id.snowflake.MacBasedAssigner
 
assignDatacenterId() - Method in class cloud.opencode.base.id.snowflake.RandomAssigner
 
assignDatacenterId() - Method in interface cloud.opencode.base.id.snowflake.WorkerIdAssigner
Assigns a datacenter ID 分配数据中心ID
assignWorkerId() - Method in class cloud.opencode.base.id.snowflake.IpBasedAssigner
 
assignWorkerId() - Method in class cloud.opencode.base.id.snowflake.MacBasedAssigner
 
assignWorkerId() - Method in class cloud.opencode.base.id.snowflake.RandomAssigner
 
assignWorkerId() - Method in interface cloud.opencode.base.id.snowflake.WorkerIdAssigner
Assigns a worker ID 分配工作节点ID
AtomicIdGenerator - Class in cloud.opencode.base.id.simple
Atomic Increment ID Generator 原子自增ID生成器

B

base62ToSnowflake(String) - Static method in class cloud.opencode.base.id.IdConverter
Converts a Base62 string back to Snowflake ID 将Base62字符串转换回雪花ID
base62ToUuid(String) - Static method in class cloud.opencode.base.id.IdConverter
Converts a Base62 string back to UUID 将Base62字符串转换回UUID
bizTag() - Method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Gets the business tag 获取业务标识
BufferStatus(long, long, int, boolean) - Constructor for record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Creates an instance of a BufferStatus record class.
build() - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Builds the NanoIdGenerator 构建NanoIdGenerator
build() - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Builds the SnowflakeGenerator 构建SnowflakeGenerator
builder() - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Creates a builder for customized generator 创建用于自定义生成器的构建器
builder() - Static method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Creates a builder for customized generator 创建用于自定义生成器的构建器
bytes() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns a defensive copy of the raw bytes 返回原始字节的防御性副本

C

charAt(int) - Method in enum class cloud.opencode.base.id.nanoid.Alphabet
Gets a character at index 获取指定索引的字符
clockBackward(long, long) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates a clock backward exception 创建时钟回拨异常
clockBackwardStrategy(ClockBackwardStrategy) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the clock backward strategy 设置时钟回拨策略
ClockBackwardStrategy - Interface in cloud.opencode.base.id.snowflake
Clock Backward Handling Strategy 时钟回拨处理策略
ClockBackwardStrategy.Custom - Interface in cloud.opencode.base.id.snowflake
Custom strategy interface for user-defined implementations 用于用户自定义实现的自定义策略接口
close() - Method in class cloud.opencode.base.id.segment.SegmentIdGenerator
Shuts down the preload executor and releases resources.
cloud.opencode.base.id - module cloud.opencode.base.id
OpenCode Base ID Module OpenCode ID生成模块
cloud.opencode.base.id - package cloud.opencode.base.id
 
cloud.opencode.base.id.exception - package cloud.opencode.base.id.exception
 
cloud.opencode.base.id.ksuid - package cloud.opencode.base.id.ksuid
 
cloud.opencode.base.id.nanoid - package cloud.opencode.base.id.nanoid
 
cloud.opencode.base.id.segment - package cloud.opencode.base.id.segment
 
cloud.opencode.base.id.simple - package cloud.opencode.base.id.simple
 
cloud.opencode.base.id.snowflake - package cloud.opencode.base.id.snowflake
 
cloud.opencode.base.id.tsid - package cloud.opencode.base.id.tsid
 
cloud.opencode.base.id.ulid - package cloud.opencode.base.id.ulid
 
cloud.opencode.base.id.uuid - package cloud.opencode.base.id.uuid
 
CollisionAnalysis(double, int, double, String, double, long) - Constructor for record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Creates an instance of a CollisionAnalysis record class.
collisionProbability(int, String, long) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Calculates collision probability 计算碰撞概率
compare(String, String) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Compares two KSUID strings 比较两个KSUID字符串
compare(String, String) - Static method in class cloud.opencode.base.id.ulid.UlidGenerator
Compares two ULID strings 比较两个ULID字符串
countToGen() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the countToGen record component.
create() - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Creates a KSUID generator 创建KSUID生成器
create() - Static method in class cloud.opencode.base.id.ksuid.KsuidParser
Creates a KSUID parser 创建KSUID解析器
create() - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Creates a default generator 创建默认生成器
create() - Static method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Creates a memory allocator with default settings 使用默认设置创建内存分配器
create() - Static method in class cloud.opencode.base.id.simple.AtomicIdGenerator
Creates a generator starting from 1 创建从1开始的生成器
create() - Static method in class cloud.opencode.base.id.simple.TimestampIdGenerator
Creates a generator with default random length (6) 创建使用默认随机长度(6)的生成器
create() - Static method in class cloud.opencode.base.id.snowflake.IpBasedAssigner
Creates an IP-based assigner 创建基于IP的分配器
create() - Static method in class cloud.opencode.base.id.snowflake.MacBasedAssigner
Creates a MAC-based assigner 创建基于MAC地址的分配器
create() - Static method in class cloud.opencode.base.id.snowflake.RandomAssigner
Creates a random assigner 创建随机分配器
create() - Static method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Creates a default generator 创建默认生成器
create() - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Creates a TSID generator with default settings 使用默认设置创建TSID生成器
create() - Static method in class cloud.opencode.base.id.tsid.TsidParser
Creates a TSID parser with default epoch (2020-01-01) 使用默认起始时间(2020-01-01)创建TSID解析器
create() - Static method in class cloud.opencode.base.id.ulid.UlidGenerator
Creates a ULID generator 创建ULID生成器
create() - Static method in class cloud.opencode.base.id.ulid.UlidParser
Creates a ULID parser 创建ULID解析器
create() - Static method in class cloud.opencode.base.id.uuid.UuidV4Generator
Creates a UUID v4 generator 创建UUID v4生成器
create() - Static method in class cloud.opencode.base.id.uuid.UuidV7Generator
Creates a UUID v7 generator 创建UUID v7生成器
create(int) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Creates a generator with specific size 使用指定长度创建生成器
create(int) - Static method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Creates a memory allocator with custom step 使用自定义步长创建内存分配器
create(int) - Static method in class cloud.opencode.base.id.simple.RandomIdGenerator
Creates an alphanumeric generator 创建字母数字生成器
create(int) - Static method in class cloud.opencode.base.id.simple.TimestampIdGenerator
Creates a generator with specific random length 使用指定随机长度创建生成器
create(int, long) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Creates a TSID generator with node configuration 使用节点配置创建TSID生成器
create(long) - Static method in class cloud.opencode.base.id.simple.AtomicIdGenerator
Creates a generator with specific start value 使用指定起始值创建生成器
create(long) - Static method in class cloud.opencode.base.id.tsid.TsidParser
Creates a TSID parser with custom epoch 使用自定义起始时间创建TSID解析器
create(long, int) - Static method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Creates a memory allocator with custom start value and step 使用自定义起始值和步长创建内存分配器
create(long, int, long) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Creates a TSID generator with full configuration 使用完整配置创建TSID生成器
create(long, long) - Static method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Creates a generator with worker and datacenter IDs 使用工作节点ID和数据中心ID创建生成器
create(SegmentAllocator) - Static method in class cloud.opencode.base.id.segment.SegmentIdGenerator
Creates a generator with default business tag 使用默认业务标识创建生成器
create(SegmentAllocator, String) - Static method in class cloud.opencode.base.id.segment.SegmentIdGenerator
Creates a generator with specific business tag 使用指定业务标识创建生成器
create(SnowflakeConfig) - Static method in class cloud.opencode.base.id.snowflake.SnowflakeIdParser
Creates a parser with configuration 使用配置创建解析器
create(DataSource) - Static method in class cloud.opencode.base.id.segment.JdbcSegmentAllocator
Creates an allocator with default settings 使用默认设置创建分配器
create(DataSource, String, int) - Static method in class cloud.opencode.base.id.segment.JdbcSegmentAllocator
Creates an allocator with custom settings 使用自定义设置创建分配器
createDefault() - Static method in class cloud.opencode.base.id.snowflake.SnowflakeIdParser
Creates a parser with default configuration 使用默认配置创建解析器
createSegmentGenerator(SegmentAllocator) - Static method in class cloud.opencode.base.id.OpenId
Creates a segment mode generator 创建号段模式生成器
createSegmentGenerator(SegmentAllocator, String) - Static method in class cloud.opencode.base.id.OpenId
Creates a segment mode generator with business tag 使用业务标识创建号段模式生成器
createSnowflake(long, long) - Static method in class cloud.opencode.base.id.OpenId
Creates a Snowflake generator with worker and datacenter IDs 使用工作节点ID和数据中心ID创建雪花ID生成器
createTsidGenerator(int, long) - Static method in class cloud.opencode.base.id.OpenId
Creates a TSID generator with node configuration 使用节点配置创建TSID生成器
currentValue() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns the value of the currentValue record component.
custom(int, String) - Static method in class cloud.opencode.base.id.simple.RandomIdGenerator
Creates a generator with custom characters 使用自定义字符创建生成器

D

datacenterBits() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the datacenterBits record component.
datacenterBits(int) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the datacenter ID bits 设置数据中心ID位数
datacenterId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the datacenterId record component.
datacenterId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the datacenterId record component.
datacenterId(long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the datacenter ID 设置数据中心ID
datacenterIdShift() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the datacenter ID left shift 获取数据中心ID左移位数
decode(String) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Decodes a KSUID string to raw bytes 将KSUID字符串解码为原始字节
decode(String) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Decodes a TSID string to long value 将TSID字符串解码为长整型值
decodeTsid(String) - Static method in class cloud.opencode.base.id.OpenId
Decodes a TSID string to long value 将TSID字符串解码为长整型值
DEFAULT - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Default URL-safe alphabet 默认URL安全字母表
DEFAULT - Static variable in record class cloud.opencode.base.id.ulid.UlidConfig
Default configuration (monotonic) 默认配置(单调)
DEFAULT_ALPHABET - Static variable in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Default alphabet 默认字母表
DEFAULT_DATACENTER_BITS - Static variable in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Default datacenter bits 默认数据中心位数
DEFAULT_EPOCH - Static variable in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Default epoch: 2021-01-01 00:00:00 UTC 默认起始时间: 2021-01-01 00:00:00 UTC
DEFAULT_EPOCH - Static variable in class cloud.opencode.base.id.tsid.TsidGenerator
Default epoch: 2020-01-01 00:00:00 UTC 默认起始时间:2020-01-01 00:00:00 UTC
DEFAULT_PRELOAD_THRESHOLD - Static variable in class cloud.opencode.base.id.segment.SegmentBuffer
Default preload threshold (20%) 默认预加载阈值(20%)
DEFAULT_SEQUENCE_BITS - Static variable in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Default sequence bits 默认序列号位数
DEFAULT_SIZE - Static variable in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Default ID length 默认ID长度
DEFAULT_STEP - Static variable in interface cloud.opencode.base.id.segment.SegmentAllocator
Default step size 默认步长
DEFAULT_TIMESTAMP_BITS - Static variable in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Default timestamp bits 默认时间戳位数
DEFAULT_WORKER_BITS - Static variable in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Default worker bits 默认工作节点位数
defaultConfig() - Static method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Creates a default configuration 创建默认配置
defaultConfig() - Static method in record class cloud.opencode.base.id.ulid.UlidConfig
Creates default configuration 创建默认配置

E

encode(byte[]) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Encodes raw bytes to KSUID string 将原始字节编码为KSUID字符串
encode(long) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Encodes a TSID to Crockford's Base32 string 将TSID编码为Crockford Base32字符串
end() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the end value 获取结束值
entropyBits() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the entropyBits record component.
epoch() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the epoch record component.
epoch(Instant) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the epoch from Instant 使用Instant设置起始时间
EPOCH_SECONDS - Static variable in class cloud.opencode.base.id.ksuid.KsuidGenerator
KSUID epoch: 2014-05-13 16:53:20 UTC (1400000000) KSUID起始时间:2014-05-13 16:53:20 UTC
epochInstant() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the epoch as Instant 获取起始时间的Instant表示
epochMillis(long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the epoch in milliseconds 使用毫秒设置起始时间
equals(Object) - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.id.ulid.UlidConfig
Indicates whether some other object is "equal to" this one.
Extend - Class in cloud.opencode.base.id.snowflake
Extension Strategy for Clock Backward Handling 时钟回拨扩展策略
Extend(int) - Constructor for class cloud.opencode.base.id.snowflake.Extend
Creates an extension strategy with specified bits 使用指定位数创建扩展策略
extensionBits() - Method in class cloud.opencode.base.id.snowflake.Extend
Gets the number of extension bits 获取扩展位数
extensionValue() - Method in class cloud.opencode.base.id.snowflake.Extend
Gets the current extension value 获取当前扩展值
extractPayload(String) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Extracts the random payload from a KSUID string 从KSUID字符串提取随机负载
extractTimestamp(byte[]) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Extracts the timestamp from raw KSUID bytes 从KSUID原始字节提取时间戳
extractTimestamp(long) - Method in class cloud.opencode.base.id.tsid.TsidGenerator
Extracts the timestamp from a TSID 从TSID提取时间戳
extractTimestamp(long) - Method in class cloud.opencode.base.id.tsid.TsidParser
Extracts the timestamp from a TSID long value 从TSID长整型值提取时间戳
extractTimestamp(Long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeIdParser
 
extractTimestamp(String) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Extracts the timestamp from a KSUID string 从KSUID字符串提取时间戳
extractTimestamp(String) - Method in class cloud.opencode.base.id.ksuid.KsuidParser
 
extractTimestamp(String) - Method in class cloud.opencode.base.id.tsid.TsidParser
 
extractTimestamp(String) - Method in class cloud.opencode.base.id.ulid.UlidParser
 
extractTimestamp(UUID) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Extracts timestamp from UUID v7 从UUID v7提取时间戳
extractTimestamp(UUID) - Static method in class cloud.opencode.base.id.uuid.UuidV7Generator
Extracts the timestamp from a UUID v7 从UUID v7提取时间戳
extractTimestamp(T) - Method in interface cloud.opencode.base.id.IdParser
Extracts the timestamp from an ID 从ID中提取时间戳
extractTimestampStatic(long) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Extracts the timestamp from a TSID with default epoch 使用默认起始时间从TSID提取时间戳

F

fromBase36(String) - Static method in class cloud.opencode.base.id.IdConverter
Converts a Base36 string back to long ID 将Base36字符串转换回长整型ID
fromBase62(String) - Static method in class cloud.opencode.base.id.IdConverter
Converts a Base62 string back to long ID 将Base62字符串转换回长整型ID
fromBytes(byte[]) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Parses byte array to UUID 将字节数组解析为UUID
fromSimpleString(String) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Parses a simple string to UUID 将简化字符串解析为UUID

G

generate() - Method in interface cloud.opencode.base.id.IdGenerator
Generates the next ID 生成下一个ID
generate() - Method in class cloud.opencode.base.id.ksuid.KsuidGenerator
 
generate() - Method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
 
generate() - Method in class cloud.opencode.base.id.segment.SegmentIdGenerator
 
generate() - Method in class cloud.opencode.base.id.simple.AtomicIdGenerator
 
generate() - Method in class cloud.opencode.base.id.simple.RandomIdGenerator
 
generate() - Method in class cloud.opencode.base.id.simple.TimestampIdGenerator
 
generate() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
 
generate() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
 
generate() - Method in class cloud.opencode.base.id.ulid.UlidGenerator
 
generate() - Method in class cloud.opencode.base.id.uuid.UuidGenerator
 
generate() - Method in class cloud.opencode.base.id.uuid.UuidV4Generator
 
generate() - Method in class cloud.opencode.base.id.uuid.UuidV7Generator
 
generate(long) - Method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Generates a KSUID with specific timestamp 使用指定时间戳生成KSUID
generate(long) - Method in class cloud.opencode.base.id.ulid.UlidGenerator
Generates a ULID with specific timestamp 使用指定时间戳生成ULID
generate(String) - Method in class cloud.opencode.base.id.simple.TimestampIdGenerator
Generates an ID with prefix 生成带前缀的ID
generateBatch(int) - Method in interface cloud.opencode.base.id.IdGenerator
Generates a batch of IDs 批量生成ID
generateBytes() - Method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Generates KSUID as raw bytes 生成KSUID原始字节
generateBytes() - Method in class cloud.opencode.base.id.ulid.UlidGenerator
Generates ULID as byte array 生成ULID字节数组
generateBytes(long) - Method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Generates KSUID as raw bytes with specific timestamp 使用指定时间戳生成KSUID原始字节
generateSimple() - Method in class cloud.opencode.base.id.uuid.UuidGenerator
Generates a simple UUID (no hyphens) 生成简化UUID(无连字符)
generateSimple() - Method in class cloud.opencode.base.id.uuid.UuidV4Generator
Generates a simple UUID (no hyphens) 生成简化UUID(无连字符)
generateStr() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Generates an ID and returns as string 生成ID并返回字符串
generateStr() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
Generates a TSID as Crockford's Base32 string 生成Crockford Base32编码的TSID字符串
generateStr() - Method in class cloud.opencode.base.id.uuid.UuidGenerator
Generates a UUID as string 生成UUID字符串
generateStr() - Method in class cloud.opencode.base.id.uuid.UuidV4Generator
Generates a UUID as string 生成UUID字符串
generateStr() - Method in class cloud.opencode.base.id.uuid.UuidV7Generator
Generates a UUID as string 生成UUID字符串
generatorType() - Method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Gets the generator type 获取生成器类型
getAlphabet() - Method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Gets the alphabet 获取字母表
getBizTag() - Method in class cloud.opencode.base.id.segment.SegmentIdGenerator
Gets the business tag 获取业务标识
getBufferStatus() - Method in class cloud.opencode.base.id.segment.SegmentIdGenerator
Gets the current buffer status 获取当前缓冲区状态
getChars() - Method in enum class cloud.opencode.base.id.nanoid.Alphabet
Gets the character set 获取字符集
getChars() - Method in class cloud.opencode.base.id.simple.RandomIdGenerator
Gets the character set 获取字符集
getConfig() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Gets the configuration 获取配置
getCurrentValue() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the current value (same as start) 获取当前值(与start相同)
getCurrentValue() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the current value 获取当前值
getCurrentValue() - Method in class cloud.opencode.base.id.simple.AtomicIdGenerator
Gets the current value without incrementing 获取当前值但不递增
getCurrentValue(String) - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Gets the current value for a business tag 获取业务标识的当前值
getDatacenterId() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Gets the datacenter ID 获取数据中心ID
getEpoch() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Gets the epoch timestamp 获取起始时间戳
getEpoch() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
Gets the epoch 获取起始时间
getEpoch() - Method in class cloud.opencode.base.id.tsid.TsidParser
Gets the epoch used by this parser 获取此解析器使用的起始时间
getInstance() - Static method in class cloud.opencode.base.id.snowflake.ThrowException
Gets the singleton instance 获取单例实例
getKsuidGenerator() - Static method in class cloud.opencode.base.id.OpenId
Gets the KSUID generator 获取KSUID生成器
getLength() - Method in class cloud.opencode.base.id.simple.RandomIdGenerator
Gets the ID length 获取ID长度
getMaxValue() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the maximum value (same as end) 获取最大值(与end相同)
getMaxValue() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the max value 获取最大值
getNext() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the next value 获取下一个值
getNodeBits() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
Gets the node bits 获取节点位数
getNodeId() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
Gets the node ID 获取节点ID
getPayloadHex() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Gets the payload as hex string 获取负载的十六进制字符串
getRandomBinary() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Gets the random part as binary string 获取随机部分的二进制字符串
getRandomnessPart() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the randomness part (last 16 characters) 获取随机性部分(后16个字符)
getRemaining() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the remaining count 获取剩余数量
getSequence() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Calculates the approximate sequence number within the millisecond 计算毫秒内的近似序列号
getSize() - Method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Gets the ID length 获取ID长度
getSnowflake() - Static method in class cloud.opencode.base.id.OpenId
Gets the default Snowflake generator 获取默认雪花ID生成器
getStep() - Method in class cloud.opencode.base.id.segment.JdbcSegmentAllocator
 
getStep() - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
 
getStep() - Method in interface cloud.opencode.base.id.segment.SegmentAllocator
Gets the step size 获取步长
getStep() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the step size 获取步长
getStrategyName() - Method in class cloud.opencode.base.id.snowflake.IpBasedAssigner
 
getStrategyName() - Method in class cloud.opencode.base.id.snowflake.MacBasedAssigner
 
getStrategyName() - Method in class cloud.opencode.base.id.snowflake.RandomAssigner
 
getStrategyName() - Method in interface cloud.opencode.base.id.snowflake.WorkerIdAssigner
Gets a description of the assignment strategy 获取分配策略描述
getTagCount() - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Gets the number of registered business tags 获取已注册的业务标识数量
getTimestampBinary() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Gets the timestamp part as binary string 获取时间戳部分的二进制字符串
getTimestampHex() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Gets the timestamp part as hex string 获取时间戳部分的十六进制字符串
getTimestampPart() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the timestamp part (first 10 characters) 获取时间戳部分(前10个字符)
getTsidGenerator() - Static method in class cloud.opencode.base.id.OpenId
Gets the default TSID generator 获取默认TSID生成器
getType() - Method in interface cloud.opencode.base.id.IdGenerator
Gets the generator type name 获取生成器类型名称
getType() - Method in class cloud.opencode.base.id.ksuid.KsuidGenerator
 
getType() - Method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
 
getType() - Method in class cloud.opencode.base.id.segment.SegmentIdGenerator
 
getType() - Method in class cloud.opencode.base.id.simple.AtomicIdGenerator
 
getType() - Method in class cloud.opencode.base.id.simple.RandomIdGenerator
 
getType() - Method in class cloud.opencode.base.id.simple.TimestampIdGenerator
 
getType() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
 
getType() - Method in class cloud.opencode.base.id.tsid.TsidGenerator
 
getType() - Method in class cloud.opencode.base.id.ulid.UlidGenerator
 
getType() - Method in class cloud.opencode.base.id.uuid.UuidGenerator
 
getType() - Method in class cloud.opencode.base.id.uuid.UuidV4Generator
 
getType() - Method in class cloud.opencode.base.id.uuid.UuidV7Generator
 
getUlidGenerator() - Static method in class cloud.opencode.base.id.OpenId
Gets the ULID generator 获取ULID生成器
getUsagePercent() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Gets the usage percentage 获取使用百分比
getUuidV7Generator() - Static method in class cloud.opencode.base.id.OpenId
Gets the UUID v7 generator 获取UUID v7生成器
getVariant(UUID) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Gets the UUID variant 获取UUID变体
getVersion() - Method in class cloud.opencode.base.id.uuid.UuidGenerator
Gets the UUID version 获取UUID版本
getVersion(UUID) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Gets the UUID version 获取UUID版本
getWorkerId() - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Gets the worker ID 获取工作节点ID

H

handle(long, long) - Method in interface cloud.opencode.base.id.snowflake.ClockBackwardStrategy
Handles clock backward movement 处理时钟回拨
handle(long, long) - Method in class cloud.opencode.base.id.snowflake.Extend
 
handle(long, long) - Method in class cloud.opencode.base.id.snowflake.ThrowException
 
handle(long, long) - Method in class cloud.opencode.base.id.snowflake.Wait
 
hashCode() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.id.ulid.UlidConfig
Returns a hash code value for this object.
hex(int) - Static method in class cloud.opencode.base.id.simple.RandomIdGenerator
Creates a hex generator 创建十六进制生成器
HEX_LOWER - Static variable in class cloud.opencode.base.id.simple.RandomIdGenerator
Hex lowercase characters 十六进制小写字符
HEX_LOWERCASE - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Hexadecimal lowercase 十六进制小写
HEX_UPPER - Static variable in class cloud.opencode.base.id.simple.RandomIdGenerator
Hex uppercase characters 十六进制大写字符
HEX_UPPERCASE - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Hexadecimal uppercase 十六进制大写
hexUpper(int) - Static method in class cloud.opencode.base.id.simple.RandomIdGenerator
Creates a hex uppercase generator 创建十六进制大写生成器
humanReadable() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the humanReadable record component.

I

id() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the id record component.
IdConverter - Class in cloud.opencode.base.id
ID Format Converter Utility ID格式转换工具
IdGenerator<T> - Interface in cloud.opencode.base.id
ID Generator Interface ID生成器接口
IdParser<T,R> - Interface in cloud.opencode.base.id
ID Parser Interface ID解析器接口
init(SegmentAllocator.Segment) - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Initializes the buffer with a segment 使用号段初始化缓冲区
initTable() - Method in class cloud.opencode.base.id.segment.JdbcSegmentAllocator
Initializes the table structure 初始化表结构
invalidIdFormat(String, String) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an invalid ID format exception 创建ID格式无效异常
invalidParameter(String, long, String) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an invalid parameter exception 创建参数无效异常
IpBasedAssigner - Class in cloud.opencode.base.id.snowflake
IP-based Worker ID Assigner 基于IP的工作节点ID分配器
isAcceptable() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Checks if the collision risk is acceptable (probability < 1e-15).
isExhausted() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Checks if buffer is exhausted 检查缓冲区是否耗尽
isInitialized() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Checks if initialized 检查是否已初始化
isLowRisk() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Checks if the collision risk is low (probability < 1e-9).
isV7(UUID) - Static method in class cloud.opencode.base.id.uuid.UuidV7Generator
Checks if a UUID is version 7 检查UUID是否为版本7
isValid(long) - Method in class cloud.opencode.base.id.tsid.TsidParser
Validates a TSID long value 验证TSID长整型值
isValid(Long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeIdParser
 
isValid(String) - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Validates a KSUID string 验证KSUID字符串
isValid(String) - Method in class cloud.opencode.base.id.ksuid.KsuidParser
 
isValid(String) - Static method in class cloud.opencode.base.id.tsid.TsidGenerator
Validates a TSID string 验证TSID字符串
isValid(String) - Method in class cloud.opencode.base.id.tsid.TsidParser
 
isValid(String) - Static method in class cloud.opencode.base.id.ulid.UlidGenerator
Validates a ULID string 验证ULID字符串
isValid(String) - Method in class cloud.opencode.base.id.ulid.UlidParser
 
isValid(String) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Validates a UUID string 验证UUID字符串
isValid(T) - Method in interface cloud.opencode.base.id.IdParser
Validates the ID format 验证ID格式
isValidBase36(String) - Static method in class cloud.opencode.base.id.IdConverter
Validates a Base36 string 验证Base36字符串
isValidBase62(String) - Static method in class cloud.opencode.base.id.IdConverter
Validates a Base62 string 验证Base62字符串
isValidKsuid(String) - Static method in class cloud.opencode.base.id.OpenId
Validates a KSUID string 验证KSUID字符串
isValidSimple(String) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Validates a simple UUID string 验证简化UUID字符串

J

JdbcSegmentAllocator - Class in cloud.opencode.base.id.segment
JDBC-based Segment Allocator 基于JDBC的号段分配器

K

ksuid() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns the value of the ksuid record component.
ksuid() - Static method in class cloud.opencode.base.id.OpenId
Generates a KSUID (K-Sortable Unique Identifier) 生成KSUID(K可排序唯一标识符)
ksuidBytes() - Static method in class cloud.opencode.base.id.OpenId
Generates a KSUID as raw bytes 生成KSUID原始字节
KsuidGenerator - Class in cloud.opencode.base.id.ksuid
KSUID (K-Sortable Unique Identifier) Generator KSUID(K可排序唯一标识符)生成器
KsuidParser - Class in cloud.opencode.base.id.ksuid
KSUID Parser KSUID解析器
KsuidParser.ParsedKsuid - Record Class in cloud.opencode.base.id.ksuid
Parsed KSUID result 解析后的KSUID结果

M

MacBasedAssigner - Class in cloud.opencode.base.id.snowflake
MAC Address-based Worker ID Assigner 基于MAC地址的工作节点ID分配器
max() - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Returns the maximum possible KSUID (all max values) 返回最大可能的KSUID(全最大值)
maxDatacenterId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the maximum datacenter ID value 获取最大数据中心ID值
maxExtension() - Method in class cloud.opencode.base.id.snowflake.Extend
Gets the maximum extension value 获取最大扩展值
maxSequence() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the maximum sequence value 获取最大序列号值
maxValue() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns the value of the maxValue record component.
maxWaitMillis() - Method in class cloud.opencode.base.id.snowflake.Wait
Gets the maximum wait time in milliseconds 获取最大等待时间(毫秒)
maxWorkerId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the maximum worker ID value 获取最大工作节点ID值
MemorySegmentAllocator - Class in cloud.opencode.base.id.segment
Memory-based Segment Allocator 基于内存的号段分配器
min() - Static method in class cloud.opencode.base.id.ksuid.KsuidGenerator
Returns the minimum possible KSUID (all zeros) 返回最小可能的KSUID(全零)
monotonic() - Method in record class cloud.opencode.base.id.ulid.UlidConfig
Returns the value of the monotonic record component.

N

nanoId() - Static method in class cloud.opencode.base.id.OpenId
Generates a NanoID (default 21 chars) 生成NanoID(默认21字符)
nanoId(int) - Static method in class cloud.opencode.base.id.OpenId
Generates a NanoID with specific length 使用指定长度生成NanoID
nanoId(int, String) - Static method in class cloud.opencode.base.id.OpenId
Generates a NanoID with custom alphabet 使用自定义字母表生成NanoID
nanoIdBuilder() - Static method in class cloud.opencode.base.id.OpenId
Creates a NanoID builder 创建NanoID构建器
NanoIdBuilder - Class in cloud.opencode.base.id.nanoid
NanoID Generator Builder NanoID生成器构建器
NanoIdBuilder() - Constructor for class cloud.opencode.base.id.nanoid.NanoIdBuilder
Creates a new builder 创建新的构建器
NanoIdGenerator - Class in cloud.opencode.base.id.nanoid
NanoID Generator NanoID生成器
NanoIdGenerator.CollisionAnalysis - Record Class in cloud.opencode.base.id.nanoid
Collision analysis result 碰撞分析结果
nextBufferReady() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns the value of the nextBufferReady record component.
NOLOOK_ALIKE - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
No look-alike characters 无歧义字符
nonMonotonic() - Static method in record class cloud.opencode.base.id.ulid.UlidConfig
Creates non-monotonic configuration 创建非单调配置
numeric(int) - Static method in class cloud.opencode.base.id.simple.RandomIdGenerator
Creates a numeric only generator 创建仅数字生成器
NUMERIC - Enum constant in enum class cloud.opencode.base.id.nanoid.Alphabet
Numeric only 仅数字
NUMERIC - Static variable in class cloud.opencode.base.id.simple.RandomIdGenerator
Numeric characters 数字字符

O

of(long, long) - Static method in class cloud.opencode.base.id.snowflake.RandomAssigner
Creates an assigner with fixed IDs 创建使用固定ID的分配器
of(long, long) - Static method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Creates a configuration with worker and datacenter IDs 使用工作节点ID和数据中心ID创建配置
ofMillis(long) - Static method in class cloud.opencode.base.id.snowflake.Wait
Creates a wait strategy with milliseconds timeout 使用毫秒数超时创建等待策略
ofSeconds(int) - Static method in class cloud.opencode.base.id.snowflake.Wait
Creates a wait strategy with seconds timeout 使用秒数超时创建等待策略
OpenId - Class in cloud.opencode.base.id
ID Utility Facade Class ID工具门面类
OpenIdGenerationException - Exception Class in cloud.opencode.base.id.exception
ID Generation Exception ID生成异常
OpenIdGenerationException(String) - Constructor for exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an exception with message 使用消息创建异常
OpenIdGenerationException(String, String, String) - Constructor for exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an exception with generator type, bizTag and message 使用生成器类型、业务标识和消息创建异常
OpenIdGenerationException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an exception with generator type, bizTag, message and cause 使用生成器类型、业务标识、消息和原因创建异常
OpenIdGenerationException(String, Throwable) - Constructor for exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates an exception with message and cause 使用消息和原因创建异常
OpenUuid - Class in cloud.opencode.base.id.uuid
UUID Utility Class UUID工具类

P

parse(long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeGenerator
Parses a snowflake ID 解析雪花ID
parse(long) - Method in class cloud.opencode.base.id.tsid.TsidParser
Parses a TSID from long value 从长整型值解析TSID
parse(Long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeIdParser
 
parse(String) - Method in class cloud.opencode.base.id.ksuid.KsuidParser
 
parse(String) - Method in class cloud.opencode.base.id.tsid.TsidParser
 
parse(String) - Static method in class cloud.opencode.base.id.ulid.UlidGenerator
Parses a ULID string 解析ULID字符串
parse(String) - Method in class cloud.opencode.base.id.ulid.UlidParser
 
parse(T) - Method in interface cloud.opencode.base.id.IdParser
Parses an ID to extract embedded information 解析ID以提取嵌入信息
ParsedId(long, long, Instant, long, long, long) - Constructor for record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Creates an instance of a ParsedId record class.
ParsedKsuid(String, byte[], Instant, byte[]) - Constructor for record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Compact canonical constructor that makes defensive copies of mutable byte arrays to prevent callers from mutating internal state.
ParsedTsid(String, long, Instant, long, long) - Constructor for record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Creates an instance of a ParsedTsid record class.
ParsedUlid(String, long, Instant, byte[]) - Constructor for class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Creates a parsed ULID result 创建解析的ULID结果
parseKsuid(String) - Static method in class cloud.opencode.base.id.OpenId
Parses a KSUID 解析KSUID
parseSnowflakeId(long) - Static method in class cloud.opencode.base.id.OpenId
Parses a Snowflake ID 解析雪花ID
parseTsid(long) - Static method in class cloud.opencode.base.id.OpenId
Parses a TSID long value 解析TSID长整型值
parseTsid(String) - Static method in class cloud.opencode.base.id.OpenId
Parses a TSID string 解析TSID字符串
parseUlid(String) - Static method in class cloud.opencode.base.id.OpenId
Parses a ULID 解析ULID
payload() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns a defensive copy of the payload 返回负载的防御性副本
probability() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the probability record component.

R

random() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns the value of the random record component.
random(Random) - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Sets the random source 设置随机源
RandomAssigner - Class in cloud.opencode.base.id.snowflake
Random Worker ID Assigner 随机工作节点ID分配器
randomId(int) - Static method in class cloud.opencode.base.id.OpenId
Generates a random ID 生成随机ID
RandomIdGenerator - Class in cloud.opencode.base.id.simple
Random ID Generator 随机ID生成器
randomNanoId() - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Generates a random NanoID with default settings 使用默认设置生成随机NanoID
randomNanoId(int) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Generates a random NanoID with specific size 使用指定长度生成随机NanoID
randomNanoId(int, String) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Generates a random NanoID with specific size and alphabet 使用指定长度和字母表生成随机NanoID
randomness() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the randomness bytes 获取随机性字节
randomUuid() - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Generates a random UUID (v4) 生成随机UUID(v4)
recommendedProbability() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the recommendedProbability record component.
recommendedSize() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns the value of the recommendedSize record component.
recommendedSize(long, String, double) - Static method in class cloud.opencode.base.id.nanoid.NanoIdGenerator
Calculates the recommended ID size for a given number of IDs 计算给定ID数量的推荐ID长度
remaining() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the remaining count 获取剩余数量
reset() - Method in class cloud.opencode.base.id.snowflake.Extend
Resets the extension value 重置扩展值
reset(long) - Method in class cloud.opencode.base.id.simple.AtomicIdGenerator
Resets the counter to a new value 将计数器重置为新值
reset(String) - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Resets the counter for a business tag 重置业务标识的计数器
resetAll() - Method in class cloud.opencode.base.id.segment.MemorySegmentAllocator
Resets all counters 重置所有计数器

S

secureRandom() - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Uses SecureRandom as random source 使用SecureRandom作为随机源
Segment(long, long, int) - Constructor for class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Creates a segment 创建号段
segmentAllocationFailed(String, Throwable) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates a segment allocation failed exception 创建号段分配失败异常
SegmentAllocator - Interface in cloud.opencode.base.id.segment
Segment Allocator Interface 号段分配器接口
SegmentAllocator.Segment - Class in cloud.opencode.base.id.segment
Segment definition 号段定义
SegmentBuffer - Class in cloud.opencode.base.id.segment
Segment Buffer for Double Buffering 双缓冲号段缓冲区
SegmentBuffer() - Constructor for class cloud.opencode.base.id.segment.SegmentBuffer
Creates a segment buffer 创建号段缓冲区
SegmentBuffer(double) - Constructor for class cloud.opencode.base.id.segment.SegmentBuffer
Creates a segment buffer with custom preload threshold 使用自定义预加载阈值创建号段缓冲区
segmentExhausted(String) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates a segment exhausted exception 创建号段耗尽异常
SegmentIdGenerator - Class in cloud.opencode.base.id.segment
Segment Mode ID Generator 号段模式ID生成器
SegmentIdGenerator.BufferStatus - Record Class in cloud.opencode.base.id.segment
Buffer Status 缓冲区状态
sequence() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the sequence record component.
sequenceBits() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the sequenceBits record component.
sequenceBits(int) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the sequence bits 设置序列号位数
sequenceOverflow(long) - Static method in exception class cloud.opencode.base.id.exception.OpenIdGenerationException
Creates a sequence overflow exception 创建序列号溢出异常
shouldPreload() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
Checks if should preload next segment 检查是否应预加载下一个号段
simpleId() - Static method in class cloud.opencode.base.id.OpenId
Generates a simple incremental ID 生成简单自增ID
simpleUuid() - Static method in class cloud.opencode.base.id.OpenId
Generates a simple UUID (no hyphens) 生成简化UUID(无连字符)
size() - Method in enum class cloud.opencode.base.id.nanoid.Alphabet
Gets the size of the alphabet 获取字母表大小
size(int) - Method in class cloud.opencode.base.id.nanoid.NanoIdBuilder
Sets the ID length 设置ID长度
snowflakeBuilder() - Static method in class cloud.opencode.base.id.OpenId
Creates a Snowflake builder for customized configuration 创建用于自定义配置的雪花ID构建器
SnowflakeBuilder - Class in cloud.opencode.base.id.snowflake
Snowflake ID Generator Builder 雪花ID生成器构建器
SnowflakeBuilder() - Constructor for class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Creates a new builder 创建新的构建器
SnowflakeConfig - Record Class in cloud.opencode.base.id.snowflake
Snowflake ID Generator Configuration 雪花ID生成器配置
SnowflakeConfig(long, long, long, int, int, int, int) - Constructor for record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Creates an instance of a SnowflakeConfig record class.
SnowflakeGenerator - Class in cloud.opencode.base.id.snowflake
Snowflake ID Generator 雪花ID生成器
snowflakeId() - Static method in class cloud.opencode.base.id.OpenId
Generates a Snowflake ID using default configuration 使用默认配置生成雪花ID
SnowflakeIdParser - Class in cloud.opencode.base.id.snowflake
Snowflake ID Parser 雪花ID解析器
SnowflakeIdParser.ParsedId - Record Class in cloud.opencode.base.id.snowflake
Parsed Snowflake ID Result 解析的雪花ID结果
snowflakeIdStr() - Static method in class cloud.opencode.base.id.OpenId
Generates a Snowflake ID as string 生成雪花ID字符串
snowflakeToBase62(long) - Static method in class cloud.opencode.base.id.IdConverter
Converts a Snowflake ID to Base62 string (shorter representation) 将雪花ID转换为Base62字符串(更短的表示)
start() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the start value 获取起始值
step() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
Gets the step size 获取步长

T

ThrowException - Class in cloud.opencode.base.id.snowflake
Throw Exception Strategy for Clock Backward Handling 时钟回拨抛异常策略
time() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns the value of the time record component.
time() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the time record component.
time() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns the value of the time record component.
time() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the time 获取时间
timeOrderedUuid() - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Generates a time-ordered UUID (v7) 生成时间有序UUID(v7)
timestamp() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the timestamp record component.
timestamp() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the timestamp 获取时间戳
timestampBits() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the timestampBits record component.
timestampBits(int) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the timestamp bits 设置时间戳位数
timestampId() - Static method in class cloud.opencode.base.id.OpenId
Generates a timestamp-based ID 生成基于时间戳的ID
TimestampIdGenerator - Class in cloud.opencode.base.id.simple
Timestamp-based ID Generator 基于时间戳的ID生成器
timestampMillis() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns the value of the timestampMillis record component.
timestampShift() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the timestamp left shift 获取时间戳左移位数
toBase36(long) - Static method in class cloud.opencode.base.id.IdConverter
Converts a long ID to Base36 string (case-insensitive) 将长整型ID转换为Base36字符串(大小写不敏感)
toBase62(long) - Static method in class cloud.opencode.base.id.IdConverter
Converts a long ID to Base62 string 将长整型ID转换为Base62字符串
toBytes(UUID) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Converts UUID to byte array 将UUID转换为字节数组
toSimpleString(UUID) - Static method in class cloud.opencode.base.id.uuid.OpenUuid
Converts UUID to simple string (no hyphens) 将UUID转换为简化字符串(无连字符)
toString() - Method in record class cloud.opencode.base.id.ksuid.KsuidParser.ParsedKsuid
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.id.nanoid.NanoIdGenerator.CollisionAnalysis
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.id.segment.SegmentAllocator.Segment
 
toString() - Method in class cloud.opencode.base.id.segment.SegmentBuffer
 
toString() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.id.snowflake.Extend
 
toString() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.id.snowflake.ThrowException
 
toString() - Method in class cloud.opencode.base.id.snowflake.Wait
 
toString() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.id.ulid.UlidConfig
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
 
tsid() - Static method in class cloud.opencode.base.id.OpenId
Generates a TSID (Time-Sorted ID) 生成TSID(时间排序ID)
tsid() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns the value of the tsid record component.
TsidGenerator - Class in cloud.opencode.base.id.tsid
TSID (Time-Sorted ID) Generator TSID(时间排序ID)生成器
TsidParser - Class in cloud.opencode.base.id.tsid
TSID Parser TSID解析器
TsidParser.ParsedTsid - Record Class in cloud.opencode.base.id.tsid
Parsed TSID Result 解析的TSID结果
tsidStr() - Static method in class cloud.opencode.base.id.OpenId
Generates a TSID as Crockford's Base32 string 生成Crockford Base32编码的TSID字符串
tsidStr() - Method in record class cloud.opencode.base.id.tsid.TsidParser.ParsedTsid
Returns the value of the tsidStr record component.

U

ulid() - Static method in class cloud.opencode.base.id.OpenId
Generates a ULID 生成ULID
ulid() - Method in class cloud.opencode.base.id.ulid.UlidParser.ParsedUlid
Gets the original ULID 获取原始ULID
ulidBytes() - Static method in class cloud.opencode.base.id.OpenId
Generates a ULID as byte array 生成ULID字节数组
UlidConfig - Record Class in cloud.opencode.base.id.ulid
ULID Configuration ULID配置
UlidConfig(boolean) - Constructor for record class cloud.opencode.base.id.ulid.UlidConfig
Creates an instance of a UlidConfig record class.
UlidGenerator - Class in cloud.opencode.base.id.ulid
ULID Generator ULID生成器
UlidParser - Class in cloud.opencode.base.id.ulid
ULID Parser ULID解析器
UlidParser.ParsedUlid - Class in cloud.opencode.base.id.ulid
Parsed ULID Result 解析的ULID结果
ulidToUuid(String) - Static method in class cloud.opencode.base.id.IdConverter
Converts a ULID string to UUID 将ULID字符串转换为UUID
usagePercent() - Method in record class cloud.opencode.base.id.segment.SegmentIdGenerator.BufferStatus
Returns the value of the usagePercent record component.
uuid() - Static method in class cloud.opencode.base.id.OpenId
Generates a UUID v4 (random) 生成UUID v4(随机)
UuidGenerator - Class in cloud.opencode.base.id.uuid
UUID Generator UUID生成器
uuidStr() - Static method in class cloud.opencode.base.id.OpenId
Generates a UUID v4 as string 生成UUID v4字符串
uuidToBase62(UUID) - Static method in class cloud.opencode.base.id.IdConverter
Converts a UUID to Base62 string (compact representation) 将UUID转换为Base62字符串(紧凑表示)
uuidToUlid(UUID) - Static method in class cloud.opencode.base.id.IdConverter
Converts a UUID to ULID string 将UUID转换为ULID字符串
UuidV4Generator - Class in cloud.opencode.base.id.uuid
UUID v4 Generator UUID v4生成器
uuidV7() - Static method in class cloud.opencode.base.id.OpenId
Generates a UUID v7 (time-ordered) 生成UUID v7(时间有序)
UuidV7Generator - Class in cloud.opencode.base.id.uuid
UUID v7 Generator UUID v7生成器
uuidV7Str() - Static method in class cloud.opencode.base.id.OpenId
Generates a UUID v7 as string 生成UUID v7字符串

V

v4() - Static method in class cloud.opencode.base.id.uuid.UuidGenerator
Creates a UUID v4 generator 创建UUID v4生成器
v7() - Static method in class cloud.opencode.base.id.uuid.UuidGenerator
Creates a UUID v7 generator 创建UUID v7生成器
validate() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Validates this configuration 验证此配置
valueOf(String) - Static method in enum class cloud.opencode.base.id.nanoid.Alphabet
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.id.nanoid.Alphabet
Returns an array containing the constants of this enum class, in the order they are declared.

W

Wait - Class in cloud.opencode.base.id.snowflake
Wait Strategy for Clock Backward Handling 时钟回拨等待策略
Wait(long) - Constructor for class cloud.opencode.base.id.snowflake.Wait
Creates a wait strategy with maximum wait time 使用最大等待时间创建等待策略
withMonotonic() - Static method in record class cloud.opencode.base.id.ulid.UlidConfig
Creates monotonic configuration 创建单调配置
workerBits() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the workerBits record component.
workerBits(int) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the worker ID bits 设置工作节点ID位数
workerId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Returns the value of the workerId record component.
workerId() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeIdParser.ParsedId
Returns the value of the workerId record component.
workerId(long) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the worker ID 设置工作节点ID
workerIdAssigner(WorkerIdAssigner) - Method in class cloud.opencode.base.id.snowflake.SnowflakeBuilder
Sets the worker ID assigner for automatic ID assignment 设置工作节点ID分配器以自动分配ID
WorkerIdAssigner - Interface in cloud.opencode.base.id.snowflake
Worker ID Assigner Interface 工作节点ID分配器接口
workerIdShift() - Method in record class cloud.opencode.base.id.snowflake.SnowflakeConfig
Gets the worker ID left shift 获取工作节点ID左移位数
A B C D E F G H I J K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form