Module type Concurrent.CacheS

module HQ : IStdlib.IStd.Hash_queue.S
type 'a t
val create : name:string -> 'a t
val lookup : 'a t -> HQ.key -> 'a option
val add : 'a t -> HQ.key -> 'a -> unit
val remove : 'a t -> HQ.key -> unit
val clear : 'a t -> unit
val set_lru_mode : 'a t -> lru_limit:int option -> unit
val with_hashqueue : ('a HQ.t -> unit) -> 'a t -> unit