Package | Description |
---|---|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
LockManager.getLockMode(Object id)
Accessor for what locking should be applied to the object with the specified identity (mode 2).
|
LockMode |
LockManagerImpl.getLockMode(Object id) |
LockMode |
LockManager.getLockMode(ObjectProvider op)
Accessor for the current lock mode for the object managed by the passed ObjectProvider (mode 1).
|
LockMode |
LockManagerImpl.getLockMode(ObjectProvider op) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
LockManager.lock(Object id,
LockMode lockMode)
Method to lock the object with the provided identity (mode 2).
|
void |
LockManagerImpl.lock(Object id,
LockMode lockMode) |
void |
LockManager.lock(ObjectProvider op,
LockMode lockMode)
Method to lock the object managed by the passed ObjectProvider (mode 1).
|
void |
LockManagerImpl.lock(ObjectProvider op,
LockMode lockMode) |
Copyright © 2019. All rights reserved.