1.24.2. CacheableLockManagerImpl

The following topics are covered:

1.24.2.1. Configuration
1.24.2.2. Simple JbossCache Configuration
1.24.2.3. Template JBossCache Configuration
1.24.2.4. Data Types in Different Databases
1.24.2.5. Lock migration from 1.12.x

CacheableLockManagerImpl stores Lock objects in JBoss-cache, so Locks are replicable and affect on cluster, not only a single node. Also, JBoss-cache has JDBCCacheLoader, so Locks will be stored to the database.

Both of the implementations support to remove Expired Locks. LockRemover separates threads, that periodically ask LockManager to remove Locks that live so long. So, the timeout for LockRemover may be set as follows, the default value is 30m.


<properties>
   <property name="time-out" value="10m" />
   ...
</properties>
Copyright ©2012. All rights reserved. eXo Platform SAS