onPHP

RuntimeMemory Class Reference

 

RuntimeMemory Class Reference
[Application-wide cache subsystem]

Default process RAM cache. More...

Inheritance diagram for RuntimeMemory:

List of all members.

Public Member Functions

 isAlive ()
 increment ($key, $value)
 decrement ($key, $value)
 get ($key)
 delete ($key)
 clean ()
 append ($key, $data)

Static Public Member Functions

static create ()

Protected Member Functions

 store ($action, $key, &$value, $expires=0)

Private Attributes

 $cache = array()


Detailed Description

Default process RAM cache.

See also:
ReferencePool

Definition at line 20 of file RuntimeMemory.class.php.


Member Function Documentation

static RuntimeMemory::create (  )  [static]

Returns:
RuntimeMemory

Definition at line 27 of file RuntimeMemory.class.php.

RuntimeMemory::isAlive (  ) 

Reimplemented from CachePeer.

Definition at line 32 of file RuntimeMemory.class.php.

RuntimeMemory::increment ( key,
value 
)

Reimplemented from CachePeer.

Definition at line 37 of file RuntimeMemory.class.php.

RuntimeMemory::decrement ( key,
value 
)

Reimplemented from CachePeer.

Definition at line 45 of file RuntimeMemory.class.php.

RuntimeMemory::get ( key  ) 

Reimplemented from CachePeer.

Definition at line 53 of file RuntimeMemory.class.php.

RuntimeMemory::delete ( key  ) 

Reimplemented from CachePeer.

Definition at line 61 of file RuntimeMemory.class.php.

RuntimeMemory::clean (  ) 

Returns:
RuntimeMemory

Reimplemented from CachePeer.

Definition at line 74 of file RuntimeMemory.class.php.

RuntimeMemory::append ( key,
data 
)

Reimplemented from CachePeer.

Definition at line 81 of file RuntimeMemory.class.php.

RuntimeMemory::store ( action,
key,
&$  value,
expires = 0 
) [protected]

Reimplemented from CachePeer.

Definition at line 91 of file RuntimeMemory.class.php.


Member Data Documentation

RuntimeMemory::$cache = array() [private]

Definition at line 22 of file RuntimeMemory.class.php.


The documentation for this class was generated from the following file:

generated by doxygen-1.5.5
for onPHP at Thu Aug 7 18:22:23 2008