DefaultConcurrencyManager.php
147 if ($attribute && !($attribute instanceof ReferenceDescription) && !($attribute instanceof TransientAttributeDescription)) {
151 self::$logger->debug("Current state is different to original state: ".$object->getOID()."-".$valueName.": current[".
Session is the interface for session implementations and defines access to session variables.
Definition: Session.php:19
updateLock(ObjectId $oid, PersistentObject $object)
Definition: DefaultConcurrencyManager.php:168
aquireLock(ObjectId $oid, $type, PersistentObject $currentState=null)
Definition: DefaultConcurrencyManager.php:62
checkPersist(PersistentObject $object)
Definition: DefaultConcurrencyManager.php:113
Default ConcurrencyManager implementation.
Definition: DefaultConcurrencyManager.php:34
OptimisticLockException signals an exception when trying to create an optimistic lock.
Definition: OptimisticLockException.php:19
NodeValueIterator is used to iterate over all persistent values of a Node (not including relations).
Definition: NodeValueIterator.php:43
releaseLocks(ObjectId $oid)
Definition: DefaultConcurrencyManager.php:89
getLock(ObjectId $oid)
Definition: DefaultConcurrencyManager.php:106
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
PessimisticLockException signals an exception when trying to create an pessimistic lock.
Definition: PessimisticLockException.php:21
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
LockHandler defines the interface for LockHandler implementations.
Definition: LockHandler.php:21
BuildDepth values are used to define the depth when loading object trees.
Definition: BuildDepth.php:19
releaseLock(ObjectId $oid, $type=null)
Definition: DefaultConcurrencyManager.php:79
Instances of ReferenceDescription describe reference attributes of PersistentObjects.
Definition: ReferenceDescription.php:21
PersistenceFacade defines the interface for PersistenceFacade implementations.
Definition: PersistenceFacade.php:23
ConcurrencyManager is used to handle concurrency for objects.
Definition: ConcurrencyManager.php:32
__construct(PersistenceFacade $persistenceFacade, LockHandler $lockHandler, Session $session)
Constructor.
Definition: DefaultConcurrencyManager.php:48
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:23
static isValid($oid)
Check if a serialized ObjectId has a valid syntax, the type is known and if the number of primary key...
Definition: ObjectId.php:123
LogManager is used to retrieve Logger instances.
Definition: LogManager.php:20
releaseAllLocks()
Definition: DefaultConcurrencyManager.php:99
Instances of TransientAttributeDescription describe transient attributes of PersistentObjects.
Definition: TransientAttributeDescription.php:18