EasySwoole\Core\Component\Cache\Cache
获得键值:
key
缓存的键timeOut
调度等待时间,默认等待0.01秒
public function get($key,$timeOut = 0.01)
设置键值:
key
缓存的键data
缓存的数据
public function set($key,$data)
删除缓存:
key
缓存的键
function del($key)
清空缓存:
function flush()
public function deQueue($key,$timeOut = 0.01)
public function enQueue($key,$data)
public function clearQueue($key)