facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services

Home Page:https://www.cachelib.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The method config.enableChainedItems() cannot be found.

KIDSSCC opened this issue · comments

I intend to use the cache persistence feature of cachelib to accomplish certain programming tasks. In the Userguide-Cache Memory Management-Cache Persistence section, it mentions, 'If using chained items, you must call config.enableChainedItems() before constructing the cache. This instructs the cache to save the chained items' hash table so that chained items are accessible on restart.' However, I cannot find the description of the method config.enableChainedItems() in the cachelib source code. Could you clarify this for me?

Hi, the documentation is out-dated and chained items are always enabled now.
I'll update the documentation. Thanks for flagging this.