Module Resource_cache
module Address_config : sig ... end
module Config : sig ... end
module Resource : sig ... end
module Rpc_connection_resource : sig ... end
module Status : sig ... end
include Resource_cache__.Resource_cache0
include Resource_cache__.Resource_cache_intf.Resource_cache
module type S = Resource_cache__.Resource_cache_intf.S
module Make : functor (R : Resource.S) -> functor () S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.t
Cache.Make
creates a cache module that exposes a simplewith_
interface over its resources. The cache has the following properties:
module Make_simple : functor (R : Resource.Simple) -> functor () S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.t
Wrap a resource that does not natively support a
has_close_started
operation in a simple record to add such tracking.
module Make_wrapped : functor (R : Resource.S_wrapped) -> functor () S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.resource
Make a cache from a resource where the type clients wish to operate on is derived from, but not necessarily equal to, the type held by the cache.