Package org.apache.openjpa.kernel
Interface LockLevels
-
- All Known Subinterfaces:
Broker,DistributedBroker,FetchConfiguration,JDBCFetchConfiguration,JDBCLockManager,LockManager,MixedLockLevels
- All Known Implementing Classes:
AbstractLockManager,BrokerImpl,DelegatingBroker,DelegatingFetchConfiguration,DelegatingJDBCFetchConfiguration,DistributedBrokerImpl,FetchConfigurationImpl,FinalizingBrokerImpl,JDBCFetchConfigurationImpl,MixedLockManager,NoneLockManager,PessimisticLockManager,TargetFetchConfiguration,VersionLockManager
public interface LockLevelsStandard object lock levels.- Since:
- 0.4.0
- Author:
- Abe White
-
-
Field Summary
Fields Modifier and Type Field Description static intLOCK_NONENo lock.static intLOCK_READGeneric read lock level.static intLOCK_WRITEGeneric write lock level.
-
-
-
Field Detail
-
LOCK_NONE
static final int LOCK_NONE
No lock. Value of 0.- See Also:
- Constant Field Values
-
LOCK_READ
static final int LOCK_READ
Generic read lock level. Value of 10.- See Also:
- Constant Field Values
-
LOCK_WRITE
static final int LOCK_WRITE
Generic write lock level. Value of 20.- See Also:
- Constant Field Values
-
-