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
Subclasses with type arguments of type LockMode in org.datanucleus.stateFields in org.datanucleus.state with type parameters of type LockModeModifier and TypeFieldDescription(package private) Map<DNStateManager, LockMode> LockManagerImpl.lockModeBySMMap of lock mode, keyed by StateManager.LockManagerImpl.requiredLockModesByIdMap 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 LockModeReturns 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 TypeMethodDescriptionvoidMethod to lock the object with the provided identity (mode 2).voidLockManager.lock(DNStateManager sm, LockMode lockMode) Method to lock the object managed by the passed StateManager (mode 1).voidvoidLockManagerImpl.lock(DNStateManager sm, LockMode lockMode)