2016-02-28 10:38:36 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* EGroupware API: Caching data
|
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package api
|
|
|
|
* @subpackage cache
|
|
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @copyright (c) 2009-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace EGroupware\Api\Cache;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface for a caching provider being able to retrieve multiple entires
|
|
|
|
*/
|
2021-05-26 11:38:24 +02:00
|
|
|
interface ProviderMultiple extends Provider
|
2016-02-28 10:38:36 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get multiple data from the cache
|
|
|
|
*
|
|
|
|
* @param array $keys eg. array of array($level,$app,array $locations)
|
|
|
|
* @return array key => data stored, not found keys are NOT returned
|
|
|
|
*/
|
|
|
|
function mget(array $keys);
|
|
|
|
}
|