class cache : (A.key -> A.value Lwt.t) -> int ->
object
.. end
method find : A.key -> A.value Lwt.t
Find the cached value associated to the key, or binds this
value in the cache using the function passed as argument
to create
, and returns this value
method find_in_cache : A.key -> A.value
Find the cached value associated to the key. Raises Not_found
if the key is not present in the cache
method remove : A.key -> unit
method add : A.key -> A.value -> unit
method clear : unit -> unit
method size : int