You are here

public static function MemcacheStorageAPI::get in Memcache Storage 7

Get single cache value from memcached pool.

10 calls to MemcacheStorageAPI::get()
drupal_session_destroy_uid in includes/session.inc
Ends a specific user's session(s).
drupal_session_regenerate in includes/session.inc
Called when an anonymous user becomes authenticated or vice-versa.
lock_may_be_available in includes/lock.inc
Check if lock acquired by a different process may be available.
lock_release in includes/lock.inc
Release a lock previously acquired by lock_acquire().
lock_release_all in includes/lock.inc
Release all previously acquired locks.

... See full list

File

./memcache_storage.api.inc, line 192
Provide class that processes memcached operations.

Class

MemcacheStorageAPI
Integrates with memcache API.

Code

public static function get($cache_id, $cache_bin = '') {
  $cache = self::getMultiple(array(
    $cache_id,
  ), $cache_bin);
  return isset($cache[$cache_id]) ? $cache[$cache_id] : FALSE;
}