Class: I2CE MagicDataStorageMemcached (Development)

From IHRIS Wiki
Revision as of 08:15, 6 May 2015 by Sovello (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article describes the class I2CE_MagicDataStorageMemcached .

Configuration class to lookup and save configuration options.

Variables

$memcached

@protected var Memcached $memcached. The memcached instance

Methods

__construct()

Create a new instance for magic data storage.

clear()

Delete all APC keys associated with this storage object.

destroy()

Erases the given I2CE_MagicDataNode from the storage mechanism @param I2CE_MagicDataNode

getKey()

Return the APC prefix for storing variables. @param string $type The variable type (path/type/value/children)

isAvailable()

Returns true if this storage mechanism is ready to be used. false otherwise.

renameChild()

Renames a child node

renameDecendents()

Rename the descenedent children for which we need to rename its paths

retrieve()

Retrieve the given I2CE_MagicDataNode value and type.

store()

Store the given I2CE_MagicDataNode into APC

Inherited Methods

getChildPath()

This public method is inherited from I2CE_MagicDataStorage->getChildPath()

getHash()

This public method is inherited from I2CE_MagicDataStorage->getHash()

Inherited Variables

$name

Theis protected variable is inherited from I2CE_MagicDataStorage->$name