Single access point to application-wide locker implementation. More...
Public Member Functions | |
get ($key) | |
free ($key) | |
drop ($key) | |
clean () | |
__destruct () | |
Static Public Member Functions | |
static | setDefaultLocker ($name) |
static | me () |
Protected Member Functions | |
__construct () | |
Static Private Attributes | |
static | $lockerName = 'DirectoryLocker' |
static | $locker = null |
Single access point to application-wide locker implementation.
Definition at line 22 of file SemaphorePool.class.php.
SemaphorePool::__construct | ( | ) | [protected] |
Definition at line 27 of file SemaphorePool.class.php.
References Singleton::getInstance().
SemaphorePool::__destruct | ( | ) |
Definition at line 68 of file SemaphorePool.class.php.
SemaphorePool::clean | ( | ) |
Definition at line 63 of file SemaphorePool.class.php.
SemaphorePool::drop | ( | $ | key | ) |
Definition at line 58 of file SemaphorePool.class.php.
SemaphorePool::free | ( | $ | key | ) |
Definition at line 53 of file SemaphorePool.class.php.
SemaphorePool::get | ( | $ | key | ) |
Definition at line 48 of file SemaphorePool.class.php.
static SemaphorePool::me | ( | ) | [static] |
Implements Instantiatable.
Definition at line 43 of file SemaphorePool.class.php.
References Singleton::getInstance().
Referenced by XCacheSegmentHandler::__construct(), ApcSegmentHandler::__construct(), SmartDaoWorker::cacheByQuery(), SmartDaoWorker::cacheListByQuery(), SmartDaoWorker::checkMap(), RubberFileSystem::operate(), and SmartDaoWorker::uncacheLists().
static SemaphorePool::setDefaultLocker | ( | $ | name | ) | [static] |
Definition at line 32 of file SemaphorePool.class.php.
References Assert::classExists(), and Singleton::getInstance().
SemaphorePool::$locker = null [static, private] |
Definition at line 25 of file SemaphorePool.class.php.
SemaphorePool::$lockerName = 'DirectoryLocker' [static, private] |
Definition at line 24 of file SemaphorePool.class.php.