NullLockHandler Class Reference

Detailed Description

NullLockHandler acts as if no LockHandler was installed.

Use this to disable locking.

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

Definition at line 23 of file NullLockHandler.php.

+ Inheritance diagram for NullLockHandler:

Public Member Functions

 aquireLock (ObjectId $oid, $type, PersistentObject $currentState=null)
 
 releaseLock (ObjectId $oid, $type=null)
 
 releaseLocks (ObjectId $oid)
 
 releaseAllLocks ()
 
 getLock (ObjectId $oid)
 
 updateLock (ObjectId $oid, PersistentObject $object)
 

Member Function Documentation

◆ aquireLock()

aquireLock ( ObjectId  $oid,
  $type,
PersistentObject  $currentState = null 
)
See also
LockHandler::aquireLock()

Implements LockHandler.

Definition at line 28 of file NullLockHandler.php.

◆ releaseLock()

releaseLock ( ObjectId  $oid,
  $type = null 
)
See also
LockHandler::releaseLock()

Implements LockHandler.

Definition at line 33 of file NullLockHandler.php.

◆ releaseLocks()

releaseLocks ( ObjectId  $oid)
See also
LockHandler::releaseLocks()

Implements LockHandler.

Definition at line 38 of file NullLockHandler.php.

◆ releaseAllLocks()

releaseAllLocks ( )
See also
LockHandler::releaseAllLocks()

Implements LockHandler.

Definition at line 43 of file NullLockHandler.php.

◆ getLock()

getLock ( ObjectId  $oid)
See also
LockHandler::getLocks()

Implements LockHandler.

Definition at line 48 of file NullLockHandler.php.

◆ updateLock()

updateLock ( ObjectId  $oid,
PersistentObject  $object 
)
See also
LockHandler::updateLock()

Implements LockHandler.

Definition at line 55 of file NullLockHandler.php.