Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,20 +3,20 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* This class acts as a cache layer, allowing you to store and retrieve data in
|
||||
* external cache sources such as memcache or APC
|
||||
* Last Updated: $Date: 2010-08-04 12:03:04 -0400 (Wed, 04 Aug 2010) $
|
||||
* Last Updated: $Date: 2011-03-10 21:04:50 -0500 (Thu, 10 Mar 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Kernel
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since Friday 19th May 2006 17:33
|
||||
* @version $Revision: 444 $
|
||||
* @version $Revision: 8024 $
|
||||
*
|
||||
* Basic Usage Examples
|
||||
* <code>
|
||||
@@ -35,23 +35,21 @@ class classCacheMemcache implements interfaceCache
|
||||
{
|
||||
/**
|
||||
* Identifier
|
||||
* @access private
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $identifier = '';
|
||||
protected $identifier = '';
|
||||
|
||||
/**
|
||||
* Connection resource
|
||||
*
|
||||
* @access private
|
||||
* @var resource Connection resource
|
||||
*/
|
||||
private $link = null;
|
||||
protected $link = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @param string Unique identifier
|
||||
* @param array Connection information
|
||||
* @return boolean Initiation successful
|
||||
@@ -72,11 +70,10 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Connect to memcache server
|
||||
*
|
||||
* @access private
|
||||
* @param array Connection information
|
||||
* @return boolean Initiation successful
|
||||
*/
|
||||
private function _connect( $server_info=array() )
|
||||
protected function _connect( $server_info=array() )
|
||||
{
|
||||
if( !count($server_info) )
|
||||
{
|
||||
@@ -129,7 +126,6 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Disconnect from remote cache store
|
||||
*
|
||||
* @access public
|
||||
* @return boolean Disconnect successful
|
||||
*/
|
||||
public function disconnect()
|
||||
@@ -145,7 +141,6 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Put data into remote cache store
|
||||
*
|
||||
* @access public
|
||||
* @param string Cache unique key
|
||||
* @param string Cache value to add
|
||||
* @param integer [Optional] Time to live
|
||||
@@ -159,7 +154,6 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Retrieve a value from remote cache store
|
||||
*
|
||||
* @access public
|
||||
* @param string Cache unique key
|
||||
* @return mixed Cached value
|
||||
*/
|
||||
@@ -171,7 +165,6 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Update value in remote cache store
|
||||
*
|
||||
* @access public
|
||||
* @param string Cache unique key
|
||||
* @param string Cache value to set
|
||||
* @param integer [Optional] Time to live
|
||||
@@ -186,7 +179,6 @@ class classCacheMemcache implements interfaceCache
|
||||
/**
|
||||
* Remove a value in the remote cache store
|
||||
*
|
||||
* @access public
|
||||
* @param string Cache unique key
|
||||
* @return boolean Cache removal successful
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user