Public Member Functions | |
__construct ($directory= 'cache/') | |
isAlive () | |
clean () | |
| |
get ($key) | |
delete ($key) | |
Static Public Member Functions | |
static | create ($directory= 'cache/') |
| |
Protected Member Functions | |
store ($action, $key, &$value, $expires=0) | |
Private Member Functions | |
operate ($path, $value=null, $expires=null) | |
makePath ($key) | |
Private Attributes | |
$directory = null |
Definition at line 18 of file RubberFileSystem.class.php.
RubberFileSystem::__construct | ( | $ | directory = 'cache/' |
) |
static RubberFileSystem::create | ( | $ | directory = 'cache/' |
) | [static] |
Definition at line 25 of file RubberFileSystem.class.php.
References $directory.
RubberFileSystem::isAlive | ( | ) |
RubberFileSystem::clean | ( | ) |
Reimplemented from CachePeer.
Definition at line 53 of file RubberFileSystem.class.php.
References FileUtils::removeDirectory().
RubberFileSystem::get | ( | $ | key | ) |
Reimplemented from CachePeer.
Definition at line 61 of file RubberFileSystem.class.php.
References makePath(), and operate().
RubberFileSystem::delete | ( | $ | key | ) |
Reimplemented from CachePeer.
Definition at line 82 of file RubberFileSystem.class.php.
References makePath().
RubberFileSystem::store | ( | $ | action, | |
$ | key, | |||
&$ | value, | |||
$ | expires = 0 | |||
) | [protected] |
Reimplemented from CachePeer.
Definition at line 93 of file RubberFileSystem.class.php.
References $directory, makePath(), operate(), and CachePeer::replace().
RubberFileSystem::operate | ( | $ | path, | |
$ | value = null , |
|||
$ | expires = null | |||
) | [private] |
Definition at line 133 of file RubberFileSystem.class.php.
References SemaphorePool::me().
Referenced by get(), and store().
RubberFileSystem::makePath | ( | $ | key | ) | [private] |
Definition at line 176 of file RubberFileSystem.class.php.
RubberFileSystem::$directory = null [private] |
Definition at line 20 of file RubberFileSystem.class.php.
Referenced by __construct(), create(), and store().