DefaultConcurrencyManager Class Reference

Detailed Description

Default ConcurrencyManager implementation.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 34 of file DefaultConcurrencyManager.php.

+ Inheritance diagram for DefaultConcurrencyManager:

Public Member Functions

 __construct (PersistenceFacade $persistenceFacade, LockHandler $lockHandler, Session $session)
 
 aquireLock (ObjectId $oid, $type, PersistentObject $currentState=null)
 
 releaseLock (ObjectId $oid, $type=null)
 
 releaseLocks (ObjectId $oid)
 
 releaseAllLocks ()
 
 getLock (ObjectId $oid)
 
 checkPersist (PersistentObject $object)
 
 updateLock (ObjectId $oid, PersistentObject $object)
 

Constructor & Destructor Documentation

__construct ( PersistenceFacade  $persistenceFacade,
LockHandler  $lockHandler,
Session  $session 
)

Constructor.

Parameters
$persistenceFacade
$lockHandler
$session

Definition at line 48 of file DefaultConcurrencyManager.php.

Member Function Documentation

aquireLock ( ObjectId  $oid,
  $type,
PersistentObject  $currentState = null 
)
releaseLock ( ObjectId  $oid,
  $type = null 
)
releaseLocks ( ObjectId  $oid)
releaseAllLocks ( )
getLock ( ObjectId  $oid)
See also
ConcurrencyManager::getLock()

Implements ConcurrencyManager.

Definition at line 106 of file DefaultConcurrencyManager.php.

checkPersist ( PersistentObject  $object)
updateLock ( ObjectId  $oid,
PersistentObject  $object 
)