Symfony\Component\HttpKernel\Profiler\BaseMemcacheProfilerStorage
Base Memcache storage for profiling information in a Memcache.
- Author: Andrej Hudec <pulzarraider@gmail.com>
Synopsis
class BaseMemcacheProfilerStorage
implements
ProfilerStorageInterface
{
- // constants
- const TOKEN_PREFIX = 'sf_profiler_';
- // methods
- public void __construct()
- public void find()
- public void purge()
- public void read()
- public void write()
- protected abstract mixed getValue()
- protected abstract boolean setValue()
- protected abstract boolean delete()
- protected abstract boolean appendValue()
- private void createProfileFromData()
- private string getItemName()
- private string getIndexName()
- private void isItemNameValid()
Hierarchy
Extended by
- Symfony\Component\HttpKernel\Profiler\MemcachedProfilerStorage
- Symfony\Component\HttpKernel\Profiler\MemcacheProfilerStorage
Implements
Constants
Name | Value |
---|---|
TOKEN_PREFIX | 'sf_profiler_' |
Members
protected
- $dsn
- $lifetime
Methods
private
- createProfileFromData()
- getIndexName() — Get name of index
- getItemName() — Get item name
- isItemNameValid()
protected
- appendValue() — Append data to an existing item on the memcache server
- delete() — Delete item from the memcache server
- getValue() — Retrieve item from the memcache server
- setValue() — Store an item on the memcache server under the specified key
public
- __construct() — Constructor.
- find() — {@inheritdoc}
- purge() — {@inheritdoc}
- read() — {@inheritdoc}
- write() — {@inheritdoc}