[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Cache/Container/ -> shm.php (sommaire)

(pas de description)

Poids: 276 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Cache/Container.php

Définit 1 class

Cache_Container_shm:: (8 méthodes):
  Cache_Container_shm()
  fetch()
  save()
  remove()
  flush()
  idExists()
  garbageCollection()
  doGarbageCollection()


Classe: Cache_Container_shm  - X-Ref

Stores cache data into shared memory.

Well, this is not a very efficient implementation. Indeed it's much
slower than the file container as far as my tests showed. Files are
cached by most operating systems and it will be hard to write a faster
caching algorithm using PHP.

Cache_Container_shm($options = '')   X-Ref
Creates a shared memory container

param: array    shm_key, sem_key, shm_size, sem_perm, shm_perm

fetch($id, $group)   X-Ref
Pas de description

save($id, $data, $expire, $group, $userdata)   X-Ref
Pas de description

remove($id, $group)   X-Ref
Pas de description

flush($group = '')   X-Ref
Pas de description

idExists($id, $group)   X-Ref
Pas de description

garbageCollection($maxlifetime, $cachedata = array()   X-Ref
Pas de description

doGarbageCollection($maxlifetime, &$cachedata)   X-Ref
Pas de description



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7