use super::*;
pub trait CacheStore: Send + Sync + 'static {
fn get<'a>(&'a self, key: &'a str) -> CacheFuture<'a, Option<CachedValue>>;
fn put(&self, key: String, value: CachedValue, ttl_ms: u64) -> CacheFuture<'_, ()>;
fn remove<'a>(&'a self, key: &'a str) -> CacheFuture<'a, bool>;
fn purge_expired(&self) -> usize {
0
}
}