facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
1.18k stars 254 forks source link

The method config.enableChainedItems() cannot be found. #285

Closed KIDSSCC closed 7 months ago

KIDSSCC commented 7 months ago

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?

haowu14 commented 7 months ago

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