此内容没有您所选择的语言版本。
9.2. Configure Locking (Remote Client-Server Mode)
In Remote Client-Server mode, locking is configured using the
locking element within the cache tags (for example, invalidated-cache, distributed-cache, replicated-cache or local-cache).
The following is a sample of a basic locking configuration for a default cache in JBoss Data Grid's Library mode:
- The
isolationparameter defines the isolation level used for the local cache. Valid values for this parameter areREPEATABLE_READandREAD_COMMITTED. - The
acquire-timeoutparameter specifies the number of milliseconds after which lock acquisition will time out. - The
concurrency-levelparameter defines the number of lock stripes used by the LockManager. - The
stripingparameter specifies whether lock striping will be used for the local cache.