Uses of Class
cloud.opencode.base.lock.local.SegmentLock
Packages that use SegmentLock
Package
Description
Lock Package - Unified Lock Abstraction (JDK 25)
Lock包 - 统一锁抽象 (JDK 25)
-
Uses of SegmentLock in cloud.opencode.base.lock
Methods in cloud.opencode.base.lock that return SegmentLockModifier and TypeMethodDescriptionstatic <K> SegmentLock<K> OpenLock.segmentLock()Creates a segment lock with default 16 segments 使用默认16个分段创建分段锁static <K> SegmentLock<K> OpenLock.segmentLock(int segments) Creates a segment lock with specified number of segments 使用指定分段数创建分段锁