
Public Member Functions | |
| addPeer ($label, CachePeer $peer, $level=self::LEVEL_NORMAL) | |
| |
| dropPeer ($label) | |
| |
| setClassLevel ($class, $level) | |
| |
| checkAlive () | |
| get ($key) | |
| low-level cache access | |
| delete ($key) | |
| clean () | |
| |
| getStats () | |
Static Public Member Functions | |
| static | create () |
| |
Public Attributes | |
| const | LEVEL_ULTRAHIGH = 0xFFFF |
| const | LEVEL_HIGH = 0xC000 |
| const | LEVEL_NORMAL = 0x8000 |
| const | LEVEL_LOW = 0x4000 |
| const | LEVEL_VERYLOW = 0x0001 |
Protected Member Functions | |
| store ($action, $key, &$value, $expires=Cache::EXPIRES_MINIMUM) | |
Private Member Functions | |
| guessLabel ($key) | |
| brain | |
Private Attributes | |
| $peers = array() | |
| $levels = array() | |
Definition at line 19 of file AggregateCache.class.php.
| static AggregateCache::create | ( | ) | [static] |
Definition at line 33 of file AggregateCache.class.php.
| AggregateCache::addPeer | ( | $ | label, | |
| CachePeer $ | peer, | |||
| $ | level = self::LEVEL_NORMAL | |||
| ) |
Definition at line 41 of file AggregateCache.class.php.
References CachePeer::isAlive().

| AggregateCache::dropPeer | ( | $ | label | ) |
| AggregateCache::setClassLevel | ( | $ | class, | |
| $ | level | |||
| ) |
| AggregateCache::checkAlive | ( | ) |
Definition at line 85 of file AggregateCache.class.php.
References CachePeer::isAlive().
Referenced by clean(), delete(), get(), and store().

| AggregateCache::get | ( | $ | key | ) |
low-level cache access
Reimplemented from CachePeer.
Definition at line 102 of file AggregateCache.class.php.
References checkAlive(), guessLabel(), and CachePeer::isAlive().

| AggregateCache::delete | ( | $ | key | ) |
Reimplemented from CachePeer.
Definition at line 114 of file AggregateCache.class.php.
References checkAlive(), guessLabel(), and CachePeer::isAlive().

| AggregateCache::clean | ( | ) |
Reimplemented from CachePeer.
Definition at line 129 of file AggregateCache.class.php.
References checkAlive().

| AggregateCache::getStats | ( | ) |
Definition at line 139 of file AggregateCache.class.php.
| AggregateCache::store | ( | $ | action, | |
| $ | key, | |||
| &$ | value, | |||
| $ | expires = Cache::EXPIRES_MINIMUM | |||
| ) | [protected] |
Reimplemented from CachePeer.
Definition at line 149 of file AggregateCache.class.php.
References checkAlive(), guessLabel(), and CachePeer::isAlive().

| AggregateCache::guessLabel | ( | $ | key | ) | [private] |
brain
Definition at line 171 of file AggregateCache.class.php.
References SelectivePeer::getClassName().
Referenced by delete(), get(), and store().

| const AggregateCache::LEVEL_ULTRAHIGH = 0xFFFF |
Definition at line 21 of file AggregateCache.class.php.
| const AggregateCache::LEVEL_HIGH = 0xC000 |
Definition at line 22 of file AggregateCache.class.php.
| const AggregateCache::LEVEL_NORMAL = 0x8000 |
Definition at line 23 of file AggregateCache.class.php.
| const AggregateCache::LEVEL_LOW = 0x4000 |
Definition at line 24 of file AggregateCache.class.php.
| const AggregateCache::LEVEL_VERYLOW = 0x0001 |
AggregateCache::$peers = array() [private] |
Definition at line 27 of file AggregateCache.class.php.
AggregateCache::$levels = array() [private] |
Definition at line 28 of file AggregateCache.class.php.
1.5.4