Skip to main content

Module cache

Module cache 

Source
Expand description

Pluggable cache repository implementations.

Each backend implements camel_api::cache::CacheRepository and is registered with the runtime through the cache registry.

Re-exports§

pub use disk_offload::DiskPayloadStore;
pub use memory::MemoryCacheRepository;
pub use offload::OffloadRepository;
pub use offload::PayloadStore;
pub use redb::RedbCacheRepository;

Modules§

disk_offload
Disk payload store for the crate::cache::offload::OffloadRepository decorator.
memory
In-memory cache backend backed by moka.
offload
Payload-offload decorator for CacheRepository backends, with a pluggable PayloadStore.
redb
Redb-backed persistent cache repository.