Uses of Enum
org.datanucleus.state.LockMode
Packages that use LockMode
Package
Description
Provides classes relating to the life cycle state management of a persistable object.
-
Uses of LockMode in org.datanucleus.state
Fields in org.datanucleus.state with type parameters of type LockModeModifier and TypeFieldDescription(package private) Map
<DNStateManager, LockMode> LockManagerImpl.lockModeBySM
Map of lock mode, keyed by StateManager.LockManagerImpl.requiredLockModesById
Map of lock mode, keyed by the object identity.Methods in org.datanucleus.state that return LockModeModifier and TypeMethodDescriptionLockManager.getLockMode
(Object id) Accessor for what locking should be applied to the object with the specified identity (mode 2).LockManager.getLockMode
(DNStateManager sm) Accessor for the current lock mode for the object managed by the passed StateManager (mode 1).LockManagerImpl.getLockMode
(Object id) LockManagerImpl.getLockMode
(DNStateManager sm) static LockMode
Returns the enum constant of this type with the specified name.static LockMode[]
LockMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.datanucleus.state with parameters of type LockModeModifier and TypeMethodDescriptionvoid
Method to lock the object with the provided identity (mode 2).void
LockManager.lock
(DNStateManager sm, LockMode lockMode) Method to lock the object managed by the passed StateManager (mode 1).void
void
LockManagerImpl.lock
(DNStateManager sm, LockMode lockMode)