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 LockMode
LockManager. getLockMode(Object id)
Accessor for what locking should be applied to the object with the specified identity (mode 2).LockMode
LockManager. getLockMode(DNStateManager sm)
Accessor for the current lock mode for the object managed by the passed StateManager (mode 1).LockMode
LockManagerImpl. getLockMode(Object id)
LockMode
LockManagerImpl. getLockMode(DNStateManager sm)
static LockMode
LockMode. 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 void
LockManager. lock(Object id, LockMode lockMode)
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
LockManagerImpl. lock(Object id, LockMode lockMode)
void
LockManagerImpl. lock(DNStateManager sm, LockMode lockMode)
-