Public Member Functions | |
__construct (GenericDAO $dao) | |
cacheByQuery (SelectQuery $query, $object) | |
cachers | |
cacheListByQuery (SelectQuery $query, $array) | |
uncacheLists () | |
uncachers | |
Static Public Member Functions | |
static | setDefaultHandler ($handler) |
Protected Member Functions | |
gentlyGetByKey ($key) | |
internal helpers | |
spawnHandler ($classKey) | |
Protected Attributes | |
$classKey = null | |
$handler = null | |
Static Private Attributes | |
static | $defaultHandler = null |
kernel.msgmni = (total number of DAOs + 2) kernel.msgmnb = 32767
SmartDaoWorker for less obscure, but locking-based worker.
Definition at line 30 of file VoodooDaoWorker.class.php.
VoodooDaoWorker::__construct | ( | GenericDAO $ | dao | ) |
Reimplemented from BaseDaoWorker.
Definition at line 45 of file VoodooDaoWorker.class.php.
References TransparentDaoWorker::keyToInt(), Cache::me(), and spawnHandler().
static VoodooDaoWorker::setDefaultHandler | ( | $ | handler | ) | [static] |
Definition at line 38 of file VoodooDaoWorker.class.php.
References $handler, and Assert::isTrue().
VoodooDaoWorker::cacheByQuery | ( | SelectQuery $ | query, | |
$ | object | |||
) |
cachers
Implements BaseDAO.
Definition at line 61 of file VoodooDaoWorker.class.php.
References Cache::EXPIRES_FOREVER, QueryIdentification::getId(), and Cache::me().
VoodooDaoWorker::cacheListByQuery | ( | SelectQuery $ | query, | |
$ | array | |||
) |
Implements BaseDAO.
Definition at line 76 of file VoodooDaoWorker.class.php.
References TransparentDaoWorker::cacheById(), Cache::EXPIRES_FOREVER, Assert::isTrue(), Cache::me(), and Cache::NOT_FOUND.
VoodooDaoWorker::uncacheLists | ( | ) |
VoodooDaoWorker::gentlyGetByKey | ( | $ | key | ) | [protected] |
internal helpers
Reimplemented from TransparentDaoWorker.
Definition at line 120 of file VoodooDaoWorker.class.php.
References Cache::me().
VoodooDaoWorker::spawnHandler | ( | $ | classKey | ) | [protected] |
Definition at line 130 of file VoodooDaoWorker.class.php.
References $classKey.
Referenced by __construct().
VoodooDaoWorker::$classKey = null [protected] |
VoodooDaoWorker::$handler = null [protected] |
VoodooDaoWorker::$defaultHandler = null [static, private] |
Definition at line 36 of file VoodooDaoWorker.class.php.