Public Member Functions | |
__construct ($defaultSize=self::DEFAULT_SEGMENT_SIZE, $customSized=array()) | |
| |
__destruct () | |
get ($key) | |
delete ($key) | |
isAlive () | |
clean () | |
| |
Static Public Member Functions | |
static | create ($defaultSize=self::DEFAULT_SEGMENT_SIZE, $customSized=array()) |
| |
Public Attributes | |
const | INDEX_SEGMENT = 12345678 |
const | DEFAULT_SEGMENT_SIZE = 4194304 |
Protected Member Functions | |
store ($action, $key, &$value, $expires=0) | |
Private Member Functions | |
getSegment () | |
stringToInt ($string) | |
Private Attributes | |
$defaultSize = null | |
$customSized = array() | |
Static Private Attributes | |
static | $attached = array() |
Definition at line 18 of file SharedMemory.class.php.
SharedMemory::__construct | ( | $ | defaultSize = self::DEFAULT_SEGMENT_SIZE , |
|
$ | customSized = array() | |||
) |
Definition at line 43 of file SharedMemory.class.php.
References $customSized, and $defaultSize.
SharedMemory::__destruct | ( | ) |
Definition at line 52 of file SharedMemory.class.php.
static SharedMemory::create | ( | $ | defaultSize = self::DEFAULT_SEGMENT_SIZE , |
|
$ | customSized = array() | |||
) | [static] |
Definition at line 32 of file SharedMemory.class.php.
References $customSized, and $defaultSize.
SharedMemory::get | ( | $ | key | ) |
Reimplemented from CachePeer.
Definition at line 85 of file SharedMemory.class.php.
References getSegment(), and stringToInt().
SharedMemory::delete | ( | $ | key | ) |
Reimplemented from CachePeer.
Definition at line 109 of file SharedMemory.class.php.
References getSegment(), and stringToInt().
SharedMemory::isAlive | ( | ) |
SharedMemory::clean | ( | ) |
Reimplemented from CachePeer.
Definition at line 131 of file SharedMemory.class.php.
References stringToInt().
SharedMemory::store | ( | $ | action, | |
$ | key, | |||
&$ | value, | |||
$ | expires = 0 | |||
) | [protected] |
Reimplemented from CachePeer.
Definition at line 156 of file SharedMemory.class.php.
References getSegment(), and stringToInt().
SharedMemory::getSegment | ( | ) | [private] |
Definition at line 183 of file SharedMemory.class.php.
References SelectivePeer::getClassName(), and stringToInt().
Referenced by delete(), get(), and store().
SharedMemory::stringToInt | ( | $ | string | ) | [private] |
Definition at line 199 of file SharedMemory.class.php.
Referenced by clean(), delete(), get(), getSegment(), and store().
const SharedMemory::INDEX_SEGMENT = 12345678 |
Definition at line 20 of file SharedMemory.class.php.
const SharedMemory::DEFAULT_SEGMENT_SIZE = 4194304 |
Definition at line 22 of file SharedMemory.class.php.
SharedMemory::$defaultSize = null [private] |
SharedMemory::$customSized = array() [private] |
SharedMemory::$attached = array() [static, private] |
Definition at line 27 of file SharedMemory.class.php.