10.3. Configure Lock Striping (Library Mode)
Lock striping is disabled by default in JBoss Data Grid. Configure lock striping in JBoss Data Grid's Library mode using the
useLockStriping parameter as follows:
The
useLockStriping parameter specifies whether a pool of shared locks are maintained for all entries that require locks. If set to FALSE, locks are created for each entry in the cache. If set to TRUE, lock striping is enabled and shared locks are used as required from the pool.
The
concurrencyLevel is used to specify the size of the shared lock collection use when lock striping is enabled.