Abstract Class Zend_Memory_Manager

Description

Memory manager

This class encapsulates memory menagement operations, when PHP works in limited memory mode.

  • abstract:
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Memory/Manager.php (line 32)


	
			
Method Summary
 Zend_Memory_Manager __construct ( $backend, array $backendOptions)
 Zend_Memory_Container create ([string $value = ''])
 Zend_Memory_Container get (integer $id)
 integer getMemoryLimit ()
 integer getMinSize ()
 void setMemoryLimit (integer $newLimit)
 void setMinSize (integer $newSize)
Methods
Constructor __construct (line 105)

Memory manager constructor

If backend is not specified, then 'File' backend with default options is used

  • access: public
Zend_Memory_Manager __construct ( $backend, array $backendOptions)
  • Zend_Cache_Backend $backend
  • array $backendOptions: associative array of options for the corresponding backend constructor
create (line 190)

Create new Zend_Memory object

  • access: public
  • throws: Zend_Memory_Exception
Zend_Memory_Container create ([string $value = ''])
  • string $value
get (line 209)

Get Zend_Memory object

  • access: public
Zend_Memory_Container get (integer $id)
  • integer $id
getMemoryLimit (line 158)

Get memory grow limit

  • access: public
integer getMemoryLimit ()
getMinSize (line 178)

minimum size of values, which may be swapped

  • access: public
integer getMinSize ()
setMemoryLimit (line 143)

Set memory grow limit

  • access: public
  • throws: Zend_Exception
void setMemoryLimit (integer $newLimit)
  • integer $newLimit
setMinSize (line 168)

Set minimum size of values, which may be swapped

  • access: public
void setMinSize (integer $newSize)
  • integer $newSize

Documentation generated on Wed, 21 Feb 2007 12:02:39 -0800 by phpDocumentor 1.3.1