\Hazaar\Cache\Backend
Shm
The PHP-SHM (shared memory) cache backend.

This is the absolute fastest caching backend.

There are no configuration options required for the backend.

Tags

Since

2.2.0

Summary
Methods Properties Constants
get
has
set
No constants
Properties
$index
$index
$namespace
$namespace
$shm
$shm
$shm_index
$shm_index
$weight
$weight
Methods
Static
available()
available()
clear()
clear()
close()
close()
get()
get($key)

Parameters

$key

No description

has()
has($key)

Parameters

$key

No description

init()
init($namespace)

Parameters

$namespace

No description

remove()
remove($key)

Parameters

$key

No description

set()
set($key, $value, $timeout = null)

Parameters

$key

No description

$value

No description

$timeout

No description