增加docke部署
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* $Id: KVCatchInterface.php 57516 2014-12-23 05:44:20Z caoyangmin $
|
||||
*
|
||||
* @author caoyangmin(caoyangmin@baidu.com)
|
||||
*/
|
||||
namespace phprs\util;
|
||||
|
||||
interface KVCatchInterface
|
||||
{
|
||||
/**
|
||||
* 设置key
|
||||
* @param string $key
|
||||
* @param mixed $var
|
||||
* @param int $ttl
|
||||
* @return boolean
|
||||
*/
|
||||
public function set($key, $var, $ttl);
|
||||
/**
|
||||
* 删除key
|
||||
* @param string $key
|
||||
* @return boolean
|
||||
*/
|
||||
public function del($key);
|
||||
/**
|
||||
* get key
|
||||
* @param string $key
|
||||
* @param boolean $succeeded
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($key, &$succeeded);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user