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
Exibir arquivo Open project: davedevelopment/stiphle

Protected Properties

Property Type Description
$lockWaitInterval
$lockWaitTimeout

Public Methods

Method 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 method

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

get() public method

public get ( $key )

lock() public method

public lock ( $key )

set() public method

public set ( $key, $value )

setLockWaitTimeout() public method

public setLockWaitTimeout ( $milliseconds )

setSleep() public method

public setSleep ( $microseconds )

unlock() public method

public unlock ( $key )

Property Details

$lockWaitInterval protected_oe property

protected $lockWaitInterval

$lockWaitTimeout protected_oe property

protected $lockWaitTimeout