此内容没有您所选择的语言版本。
9.8. Lock Striping
9.8.1. About Lock Striping 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Lock Striping allocates locks from a shared collection of (fixed size) locks in the cache. Lock allocation is based on the hash code for each entry's key. Lock Striping provides a highly scalable locking mechanism with fixed overhead. However, this is at the cost of potentially unrelated entries being blocked by the same lock.
Lock Striping is disabled as a default in JBoss Data Grid, which creates a new lock for each entry.