Uses of Class
org.datanucleus.state.LockMode
-
Packages that use LockMode Package Description org.datanucleus.state Provides classes relating to the life cycle state management of a persistable object. -
-
Uses of LockMode in org.datanucleus.state
Methods in org.datanucleus.state that return LockMode Modifier and Type Method Description LockModeLockManager. getLockMode(Object id)Accessor for what locking should be applied to the object with the specified identity (mode 2).LockModeLockManager. getLockMode(DNStateManager sm)Accessor for the current lock mode for the object managed by the passed StateManager (mode 1).LockModeLockManagerImpl. getLockMode(Object id)LockModeLockManagerImpl. getLockMode(DNStateManager sm)static LockModeLockMode. valueOf(String name)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 LockMode Modifier and Type Method Description voidLockManager. lock(Object id, LockMode lockMode)Method 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).voidLockManagerImpl. lock(Object id, LockMode lockMode)voidLockManagerImpl. lock(DNStateManager sm, LockMode lockMode)
-