Module Resource_cache
module Address_config : sig ... endmodule Config : sig ... endmodule Resource : sig ... endmodule Rpc_connection_resource : sig ... endmodule Status : sig ... endinclude Resource_cache__.Resource_cache0
include Resource_cache__.Resource_cache_intf.Resource_cache
module type S = Resource_cache__.Resource_cache_intf.Smodule Make : functor (R : Resource.S) -> S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.tCache.Makecreates a cache module that exposes a simplewith_interface over its resources. The cache has the following properties:
module Make_simple : functor (R : Resource.Simple) -> S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.tWrap a resource that does not natively support a
has_close_startedoperation in a simple record to add such tracking.
module Make_wrapped : functor (R : Resource.S_wrapped) -> S with type key := R.Key.t and type common_args := R.Common_args.t and type resource := R.resourceMake 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.