Writes modified entries back to persistent storage
API Tags:
Redefined in descendants as:
void remove(
string
$id, [string
$realm = COT_DEFAULT_REALM]
)
|
|
Removes cache image of the object from the database
Parameters:
string |
$id: |
Object identifier |
string |
$realm: |
Realm name |
API Tags:
bool remove_now(
string
$id, [string
$realm = COT_DEFAULT_REALM]
)
|
|
Removes item immediately, avoiding writeback.
Parameters:
string |
$id: |
Item identifirer |
string |
$realm: |
Cache realm |
API Tags:
Redefined in descendants as:
bool store(
string
$id, mixed
$data, [string
$realm = COT_DEFAULT_REALM], [int
$ttl = 0]
)
|
|
Stores data as object image in cache
Parameters:
string |
$id: |
Object identifier |
mixed |
$data: |
Object value |
string |
$realm: |
Realm name |
int |
$ttl: |
Time to live, 0 for unlimited |
API Tags:
See: | Cache_driver::store() |
Access: | public |
Redefinition of:
- Dynamic_cache_driver::store()
- Stores data as object image in cache
bool store_now(
string
$id, mixed
$data, [string
$realm = COT_DEFAULT_REALM], [int
$ttl = COT_DEFAULT_TTL]
)
|
|
Writes item to cache immediately, avoiding writeback.
Parameters:
string |
$id: |
Object identifier |
mixed |
$data: |
Object value |
string |
$realm: |
Realm name |
int |
$ttl: |
Time to live, 0 for unlimited |
API Tags:
See: | Cache_driver::store() |
Abstract: | |
Access: | public |
Redefined in descendants as: