facebook / CacheLib

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

Where is `cachelib/facebook/admin/CacheAdmin.h`? #278

Closed seekstar closed 10 months ago

seekstar commented 10 months ago

I want to use facebook::rocks_secondary_cache::RocksCachelibWrapper in my project. However, after including cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.h, the compiler complains that cachelib/facebook/admin/CacheAdmin.h is not found. I can't find the header in the cachelib repo, either. I even tried to google the file, but still can't find it.

seekstar commented 10 months ago

It seems that it's a private header file for internal use in facebook. I copied RocksCachelibWrapper-related code to a separate repo with internally used code removed, so that it can compile normally: https://github.com/seekstar/RocksCachelibWrapper