Class: I2CE MagicDataStorageSysV (Development)

From IHRIS Wiki
Revision as of 15:27, 10 March 2010 by Litlfred (talk | contribs) (Created page with '{{otherversions|Class: I2CE_MagicDataStorageSysV}} This article describes the class ''I2CE_MagicDataStorageSysV'' . *Extends the class: [[Class: I2CE_MagicDataStorage (Developmen…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article describes the class I2CE_MagicDataStorageSysV .

Variables

$sem_id

The semaphore identifiers. @var protected $shm_id

$shm_id

The array of memory segments @var protected array $seg

$sem_key

The semaphore for keys @var protected $shm_id

$shm_key

The memory segments for keys @var protected array $seg

Methods

__construct()

Create a new instance for magic data storage.

clear()

releases all shared memory segments

constructSegments()

destroy()

Erases the given I2CE_MagicDataNode from the storage mechanism @param I2CE_MagicDataNode

getKey()

getNextKey()

getSegment()

isAvailable()

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

retrieve()

Retrieve the given I2CE_MagicDataNode value and type.

store()

Store the given I2CE_MagicDataNode into the database.

Inherited Methods

getHash()

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

Inherited Variables

$name

Theis protected variable is inherited from I2CE_MagicDataStorage->$name