MemcacheService::CallProfile (since version 2.0)
Syntax
mixed CallProfile ( string $profileName , string $methodName [, array $arguments = null ] )
Parameters
profileName
The profile name to activate for this single call.
methodName
The memcache service method name to call.
arguments
The arguments to call with the memcache service method.
Description
Return
mixed Returns the result of the called memcache service method.
Examples
<?php
// set the memecache lifetime to 24 hours
$result = MemcacheService::CallProfile('memcache_profile', 'SetCacheLifetime', array(86400));
?>
// set the memecache lifetime to 24 hours
$result = MemcacheService::CallProfile('memcache_profile', 'SetCacheLifetime', array(86400));
?>
Last change 10/13/2009