Package org.jboss.cache.lock

Interface Summary
LockManager (src) Interface for acquising and releasing locks on nodes of the cache.
LockStrategy (src) Interface to specify lock strategy, e.g., for different isolation levels.
 

Class Summary
BelasLockStrategy (src)  
IdentityLock (src) Lock object which grants and releases locks, and associates locks with owners.
IsolationLevel (src)  
LockManagerImpl (src)  
LockMap (src) Provide lock ownership mapping.
LockStrategyFactory (src) Factory to create LockStragtegy instance.
LockStrategyNone (src) Transaction isolation level of None.
LockStrategyReadCommitted (src) Transaction isolation level of READ_COMMITTED.
LockStrategyReadUncommitted (src) Transaction isolation level of READ-UNCOMMITTED.
LockStrategyRepeatableRead (src) Transaction isolation level of Repeatable_Read.
LockStrategySerializable (src) Lock strategy of Serializable that prevents dirty read, non-repeatable read, and phantom read.
NonBlockingWriterLock (src) NonBlockingWriterLock is a read/write lock (with upgrade) that has non-blocking write lock acquisition on existing read lock(s).
ReadWriteLockWithUpgrade (src)  
SimpleLock (src) Simple lock that does not differentiate read and write lock.
SimpleReadWriteLock (src)  
 

Exception Summary
DeadlockException (src) Used when a lock acquisition would cause a deadlock.
LockingException (src) Used for all locking-related exceptions, e.g.
OwnerNotExistedException (src)  
TimeoutException (src) Thrown when a timeout occurred.
UpgradeException (src) Used when a read-lock cannot be upgraded to a write-lock