ZenMagick 0.9.10


org.zenmagick.core.services.cache.provider\ZMMemcacheCache
core\services\cache\provider\ZMMemcacheCache.php at line 32

Class ZMMemcacheCache

ZMObject
└─ZMMemcacheCache
All Implemented Interfaces:
org.zenmagick.core.services.cache\ZMCache

public class ZMMemcacheCache
extends ZMObject

Memcache caching.

Persistent caching using memcache.

Author:
DerManoMann

Constant Summary
final static str

SYSTEM_KEY

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

void

clear()

{@inheritDoc}

protected Memcache

getMemcache(array config)

Get a ready-to-use Memcache instance.

void

getStats()

{@inheritDoc}

void

init(mixed group, mixed config)

{@inheritDoc}

void

isAvailable()

{@inheritDoc}

void

lastModified()

{@inheritDoc}

void

lookup(mixed id)

{@inheritDoc}

void

remove(mixed id)

{@inheritDoc}

void

save(mixed data, mixed id)

{@inheritDoc}

Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Constant Detail

core\services\cache\provider\ZMMemcacheCache.php at line 33

SYSTEM_KEY

public final static str SYSTEM_KEY = "org.zenmagick.core.services.cache.provider.memcache"

Method Detail

core\services\cache\provider\ZMMemcacheCache.php at line 44

__construct

public void __construct()

Create new instance.


core\services\cache\provider\ZMMemcacheCache.php at line 106

clear

public void clear()


core\services\cache\provider\ZMMemcacheCache.php at line 66

getMemcache

protected Memcache getMemcache(array config)

Get a ready-to-use Memcache instance.

Parameters:
config - Optional config values: default is an empty array.
Returns:
A Memcache instance.

core\services\cache\provider\ZMMemcacheCache.php at line 158

getStats

public void getStats()


core\services\cache\provider\ZMMemcacheCache.php at line 78

init

public void init(mixed group, mixed config)


core\services\cache\provider\ZMMemcacheCache.php at line 99

isAvailable

public void isAvailable()


core\services\cache\provider\ZMMemcacheCache.php at line 151

lastModified

public void lastModified()


core\services\cache\provider\ZMMemcacheCache.php at line 128

lookup

public void lookup(mixed id)


core\services\cache\provider\ZMMemcacheCache.php at line 135

remove

public void remove(mixed id)


core\services\cache\provider\ZMMemcacheCache.php at line 143

save

public void save(mixed data, mixed id)


ZenMagick 0.9.10