Module type Concurrent.CacheS

type key
type 'a t
val create : name:string -> 'a t
val lookup : 'a t -> key -> 'a option
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val clear : 'a t -> unit
val set_lru_mode : 'a t -> lru_limit:int option -> unit
val update : f:('a option -> 'a option) -> 'a t -> key -> unit