DefaultConcurrencyManager.php
150 self::$_logger->debug("Current state is different to original state: ".$object->getOID()."-".$valueName.": current[".
aquireLock(ObjectId $oid, $type, PersistentObject $currentState=null)
Definition: DefaultConcurrencyManager.php:61
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
NodeValueIterator is used to iterate over all persistent values of a Node (not including relations)...
Definition: NodeValueIterator.php:43
__construct(PersistenceFacade $persistenceFacade, LockHandler $lockHandler, Session $session)
Constructor.
Definition: DefaultConcurrencyManager.php:47
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:27
checkPersist(PersistentObject $object)
Definition: DefaultConcurrencyManager.php:112
ConcurrencyManager is used to handle concurrency for objects.
Definition: ConcurrencyManager.php:32
OptimisticLockException signals an exception when trying to create an optimistic lock.
Definition: OptimisticLockException.php:19
const STATE_DELETED
Definition: PersistentObject.php:29
Session is the interface for session implementations and defines access to session variables...
Definition: Session.php:21
const STATE_DIRTY
Definition: PersistentObject.php:27
releaseAllLocks()
Definition: DefaultConcurrencyManager.php:98
updateLock(ObjectId $oid, PersistentObject $object)
Definition: DefaultConcurrencyManager.php:172
getLock(ObjectId $oid)
Definition: DefaultConcurrencyManager.php:105
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:132
LockHandler defines the interface for LockHandler implementations.
Definition: LockHandler.php:21
Instances of ReferenceDescription describe reference attributes of PersistentObjects.
Definition: ReferenceDescription.php:21
PessimisticLockException signals an exception when trying to create an pessimistic lock...
Definition: PessimisticLockException.php:21
releaseLocks(ObjectId $oid)
Definition: DefaultConcurrencyManager.php:88
PersistenceFacade defines the interface for PersistenceFacade implementations.
Definition: PersistenceFacade.php:23
releaseLock(ObjectId $oid, $type=null)
Definition: DefaultConcurrencyManager.php:78
Default ConcurrencyManager implementation.
Definition: DefaultConcurrencyManager.php:33
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:24