phpDocumentor GalleryCore
Helpers
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: GalleryLockHelper_simple

Source Location: /modules/core/classes/helpers/GalleryLockHelper_simple.class

Class GalleryLockHelper_simple

Class Overview

Helper class for handling locking. It delegates to the active GalleryLockSystem implementation that we're using, which is stored in the Gallery instance.

Located in /modules/core/classes/helpers/GalleryLockHelper_simple.class [line 37]



		
		
		
		

Methods

[ Top ]
Method Summary
void   acquireReadLock()  
void   acquireReadLockParents()  
void   acquireWriteLock()  
void   getLockIds()  
void   isReadLocked()  
void   isWriteLocked()  
void   refreshLocks()  
void   releaseAllLocks()  
void   releaseLocks()  

[ Top ]
Methods
acquireReadLock  [line 60]

  void acquireReadLock( $ids, [ $timeout = 10]  )

Parameters:
   $ids: 
   $timeout: 

API Tags:
See:  GalleryLockSystem::acquireReadLock
See:  GalleryCoreApi::acquireReadLock


[ Top ]
acquireReadLockParents  [line 80]

  void acquireReadLockParents( $id, [ $timeout = 10]  )

Parameters:
   $id: 
   $timeout: 

API Tags:
See:  GalleryCoreApi::acquireReadLockParents


[ Top ]
acquireWriteLock  [line 174]

  void acquireWriteLock( $ids, [ $timeout = 10]  )

Parameters:
   $ids: 
   $timeout: 

API Tags:
See:  GalleryLockSystem::acquireWriteLock
See:  GalleryCoreApi::acquireWriteLock


[ Top ]
getLockIds  [line 43]

  void getLockIds( )


API Tags:
See:  GalleryLockSystem::getLockIds
See:  GalleryCoreApi::getLockIds


[ Top ]
isReadLocked  [line 154]

  void isReadLocked( $ids  )

Parameters:
   $ids: 

API Tags:
See:  GalleryLockSystem::isReadLocked
See:  GalleryCoreApi::isReadLocked


[ Top ]
isWriteLocked  [line 195]

  void isWriteLocked( $ids  )

Parameters:
   $ids: 

API Tags:
See:  GalleryLockSystem::isWriteLocked
See:  GalleryCoreApi::isWriteLocked


[ Top ]
refreshLocks  [line 257]

  void refreshLocks( $freshUntil  )

Parameters:
   $freshUntil: 

API Tags:
See:  GalleryLockSystem::refreshLocks
See:  GalleryCoreApi::refreshLocks


[ Top ]
releaseAllLocks  [line 236]

  void releaseAllLocks( )


API Tags:
See:  GalleryLockSystem::releaseAllLocks
See:  GalleryCoreApi::releaseAllLocks


[ Top ]
releaseLocks  [line 215]

  void releaseLocks( $lockIds  )

Parameters:
   $lockIds: 

API Tags:
See:  GalleryLockSystem::releaseLocks
See:  GalleryCoreApi::releaseLocks


[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:00:36 -0700 by phpDocumentor 1.3.0RC6