Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有办法遍历缓存的内容那? #17

Open
evedark1 opened this issue Apr 19, 2018 · 6 comments
Open

有没有办法遍历缓存的内容那? #17

evedark1 opened this issue Apr 19, 2018 · 6 comments

Comments

@evedark1
Copy link

我想用这个库作为数据库在本地的一个缓存,定期和数据库进行同步以保持一致。但是不知道有没有什么方法可以遍历当前缓存的内容,从而发现哪些缓存内容需要删除。

@happyfish100
Copy link
Owner

我觉得你设置好key的过期时间,就可以满足你的需求

@happyfish100
Copy link
Owner

已经支持了。

@charlesgreat
Copy link

怎么遍历呢?

@happyfish100
Copy link
Owner

看API文档吧。

@happyfish100
Copy link
Owner

C API支持了,提供了命令行工具 shmcache_dump。
PHP扩展和java扩展尚未支持。

@happyfish100
Copy link
Owner

你好 你的微信号是多少 可以多交流下吗 我的是99382376

-- 任晓强 Charles 18665873921 在 2018-08-17 10:14:04,"YuQing" [email protected] 写道: C API支持了,提供了命令行工具 shmcache_dump。 PHP扩展和java扩展尚未支持。

请问你的问题是什么呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants