Storage on hash. More...
Public Member Functions | |
retrieve (bool $readLatest=false) | |
Public Member Functions inherited from MessageIndex | |
getKeys () | |
rebuild (float $timestamp=null) | |
Creates the index from scratch. | |
getStatusCacheKey () | |
storeInterim (MessageGroup $group, array $newKeys) | |
Protected Member Functions | |
get ( $key) | |
store (array $array, array $diff) | |
clearMessageGroupStats (array $diff) | |
Purge stuff when set of keys have changed. | |
Protected Member Functions inherited from MessageIndex | |
lock () | |
unlock () | |
checkAndAdd (&$hugearray, MessageGroup $g, $ignore=false) | |
serialize ( $data) | |
These are probably slower than serialize and unserialize, but they are more space efficient because we only need strings and arrays. | |
unserialize ( $data) | |
Protected Attributes | |
$index = [] | |
Protected Attributes inherited from MessageIndex | |
$interimCache | |
Additional Inherited Members | |
Static Public Member Functions inherited from MessageIndex | |
static | singleton () |
static | setInstance (self $instance) |
Override the global instance, for testing. | |
static | getGroupIds (MessageHandle $handle) |
Retrieves a list of groups given MessageHandle belongs to. | |
static | getPrimaryGroupId (MessageHandle $handle) |
static | getArrayDiff (array $old, array $new) |
Compares two associative arrays. | |
Static Protected Attributes inherited from MessageIndex | |
static | $instance |
|
protected |
Purge stuff when set of keys have changed.
array | $diff |
Reimplemented from MessageIndex.
Definition at line 775 of file MessageIndex.php.
|
protected |
string | $key |
Reimplemented from MessageIndex.
Definition at line 767 of file MessageIndex.php.
HashMessageIndex::retrieve | ( | bool | $readLatest = false | ) |
Reimplemented from MessageIndex.
Definition at line 759 of file MessageIndex.php.
|
protected |
Reimplemented from MessageIndex.
Definition at line 771 of file MessageIndex.php.
|
protected |
Definition at line 757 of file MessageIndex.php.