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 LockLevels
Standard object lock levels.
- Since:
- 0.4.0
- Author:
- Abe White
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNo lock.static final intGeneric read lock level.static final intGeneric write lock level.
-
Field Details
-
LOCK_NONE
static final int LOCK_NONENo lock. Value of 0.- See Also:
-
LOCK_READ
static final int LOCK_READGeneric read lock level. Value of 10.- See Also:
-
LOCK_WRITE
static final int LOCK_WRITEGeneric write lock level. Value of 20.- See Also:
-