Package com.semedy.reasoner.core.locks
package com.semedy.reasoner.core.locks
-
ClassDescriptionUtility methods to group-lock and group-unlock collections of locks, including roll back support to ensure that either all locks are acquired or no locks are acquired.lock for read and write lock for core.a read lock for edb for locking single predicatesa write lock for the core for locking single predicates, the idb and the symbol tableExtends the JDK
ReadWriteLock
, providing an update lock in addition to the read lock and the write lock.An implementation ofReadWriteUpdateLock
, extending the functionality of the JDKReentrantReadWriteLock
with an update lock in addition to the read and write lock, supporting upgrade from read-only operation to writing status, and downgrade again.Read lock for coreWrite lock for core