Storage on the database itself. More...
Public Member Functions | |
retrieve () | |
Protected Member Functions | |
get ($key) | |
Looks up the stored value for single key. | |
store (array $array) | |
Protected Attributes | |
$index |
Storage on the database itself.
This is likely to be the slowest backend. However it scales okay and provides random access. It also doesn't need any special setup, the database table is added with update.php together with other tables, which is the reason this is the default backend. It also works well on multi-server setup without needing for shared file storage.
Definition at line 312 of file MessageIndex.php.
DatabaseMessageIndex::get | ( | $ | key | ) | [protected] |
Looks up the stored value for single key.
Only for testing.
string | $key |
Reimplemented from MessageIndex.
Reimplemented in TestableDatabaseMessageIndex.
Definition at line 334 of file MessageIndex.php.
DatabaseMessageIndex::retrieve | ( | ) |
Reimplemented from MessageIndex.
Definition at line 317 of file MessageIndex.php.
DatabaseMessageIndex::store | ( | array $ | array | ) | [protected] |
Reimplemented from MessageIndex.
Reimplemented in TestableDatabaseMessageIndex.
Definition at line 355 of file MessageIndex.php.
DatabaseMessageIndex::$index [protected] |
Definition at line 314 of file MessageIndex.php.