站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 Cache API Documentation 英文版文档

org.jboss.cache.lock (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档


Package org.jboss.cache.lock

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

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

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



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.