Package org.apache.openjpa.kernel
Interface MixedLockLevels
- All Superinterfaces:
LockLevels
Defines lock levels used for MixedLockManager.
- Since:
- 2.0.0
- Author:
- Albert Lee
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Generic optimistic read lock level.static final int
Generic optimistic write lock level.static final int
Generic pessimistic force increment level.static final int
Generic pessimistic read lock level.static final int
Generic pessimistic write lock level.Fields inherited from interface org.apache.openjpa.kernel.LockLevels
LOCK_NONE, LOCK_READ, LOCK_WRITE
-
Field Details
-
LOCK_OPTIMISTIC
static final int LOCK_OPTIMISTICGeneric optimistic read lock level. Value of 15.- See Also:
-
LOCK_OPTIMISTIC_FORCE_INCREMENT
static final int LOCK_OPTIMISTIC_FORCE_INCREMENTGeneric optimistic write lock level. Value of 25.- See Also:
-
LOCK_PESSIMISTIC_READ
static final int LOCK_PESSIMISTIC_READGeneric pessimistic read lock level. Value of 30.- See Also:
-
LOCK_PESSIMISTIC_WRITE
static final int LOCK_PESSIMISTIC_WRITEGeneric pessimistic write lock level. Value of 40.- See Also:
-
LOCK_PESSIMISTIC_FORCE_INCREMENT
static final int LOCK_PESSIMISTIC_FORCE_INCREMENTGeneric pessimistic force increment level. Value of 50.- See Also:
-