Class: MemcacheXCache
Properties
public static $key_prefix = ''
Methods
public cache ($key, $timeout, $function)
public add ($key, $value, $flag = 0, $expire = false)
public set ($key, $value, $flag = 0, $expire = false)
public replace ($key, $value, $flag = 0, $expire = false)
public increment ($key, $value = 1)
public decrement ($key, $value = 1)
Provides a Memcache-compatible wrapper for the PHP XCache extension.
This allows you to use XCache as a drop-in replacement for Memcache as a cache store in Elefant.
To enable, edit the
conf/config.php
file and find the[Cache]
section. Change thebackend
value toxcache
.