PHP Class Stiphle\Storage\DoctrineCache

Copyright (c) 2011 Dave Marshall For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Inheritance: implements Stiphle\Storage\StorageInterface
Afficher le fichier Open project: davedevelopment/stiphle

Protected Properties

Свойство Type Description
$lockWaitInterval
$lockWaitTimeout

Méthodes publiques

Méthode Description
__construct ( Doctrine\Common\Cache\Cache $cache, $lockWaitTimeout = 1000, $lockWaitInterval = 100 )
get ( $key )
lock ( $key )
set ( $key, $value )
setLockWaitTimeout ( $milliseconds )
setSleep ( $microseconds )
unlock ( $key )

Method Details

__construct() public méthode

public __construct ( Doctrine\Common\Cache\Cache $cache, $lockWaitTimeout = 1000, $lockWaitInterval = 100 )
$cache Doctrine\Common\Cache\Cache

get() public méthode

public get ( $key )

lock() public méthode

public lock ( $key )

set() public méthode

public set ( $key, $value )

setLockWaitTimeout() public méthode

public setLockWaitTimeout ( $milliseconds )

setSleep() public méthode

public setSleep ( $microseconds )

unlock() public méthode

public unlock ( $key )

Property Details

$lockWaitInterval protected_oe property

protected $lockWaitInterval

$lockWaitTimeout protected_oe property

protected $lockWaitTimeout