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.

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


Member Function Documentation

static RuntimeMemory::create (  )  [static]

Returns:
RuntimeMemory

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

RuntimeMemory::isAlive (  ) 

Reimplemented from CachePeer.

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

RuntimeMemory::increment ( key,
value 
)

Reimplemented from CachePeer.

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

RuntimeMemory::decrement ( key,
value 
)

Reimplemented from CachePeer.

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

RuntimeMemory::get ( key  ) 

Reimplemented from CachePeer.

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

RuntimeMemory::delete ( key  ) 

Reimplemented from CachePeer.

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

RuntimeMemory::clean (  ) 

Returns:
RuntimeMemory

Reimplemented from CachePeer.

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

RuntimeMemory::append ( key,
data 
)

Reimplemented from CachePeer.

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

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

Reimplemented from CachePeer.

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


Member Data Documentation

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

Definition at line 20 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:26:48 2008