class MemcacheCacheHandler implements CacheHandlerInterface

Cache Handler to use MEMCACHE as caching backend

Class MemcacheCacheHandler

Methods

mixed
clear_cache(bool $enforce_in_cmd = false)

No description

bool
connect()

No description

mixed
get(string $key)

No description

array
get_detailed_status()

No description

array
get_grouped_cached_keys()

No description

init()

No description

bool
is_cli_supported()

No description

bool|mixed|null
remove(string $key)

No description

int
remove_group(string $group)

No description

bool
set(string $key, mixed $value, int $time)

No description

Details

at line 139
mixed clear_cache(bool $enforce_in_cmd = false)

No description

Parameters

bool $enforce_in_cmd

Return Value

mixed

at line 35
bool connect()

No description

Return Value

bool

Return true if connection is successful and caching can be used

at line 81
mixed get(string $key)

No description

Parameters

string $key

Cache Key

Return Value

mixed

Returns the cached value of the passed Cache Key

at line 160
array get_detailed_status()

No description

Return Value

array

at line 153
array get_grouped_cached_keys()

No description

Return Value

array

at line 28
init()

No description

at line 193
bool is_cli_supported()

No description

Return Value

bool

True if Caching Adapter supports caching in CMD Mode

at line 89
bool|mixed|null remove(string $key)

No description

Parameters

string $key

Cache Key

Return Value

bool|mixed|null

at line 98
int remove_group(string $group)

No description

Parameters

string $group

Cache Group (erases all keyy in one cache group - keys must start with this group id, e.g. db or template)

Return Value

int

number of deleted keys

at line 70
bool set(string $key, mixed $value, int $time)

No description

Parameters

string $key

Cache Key

mixed $value

Cache Value

int $time

TTL in seconds

Return Value

bool