Skip to main contentCrate accelerator_macros
Source - cache_evict
- Invalidation wrapper: deletes cache before/after function based on
before option. - cache_evict_batch
- Batch invalidation wrapper:
mdel before/after function according to before. - cache_put
- Write-through wrapper: executes function and updates cache on success.
- cacheable
- Cache-first wrapper: hit returns directly, miss executes function and backfills cache.
- cacheable_batch
- Batch cache-first wrapper:
mget first, then loads misses and mset backfill.