Module Resource_cache.Cache

include Cache

Cache.Make creates a cache module that exposes a simple with_ interface over its resources. The cache has the following properties:

Resource reuse: When a resource r is opened, it will remain open until one of the following:

When a resource is closed, either because of one of the above conditions, or because it was closed by other means, it no longer counts towards the limits.

Limits: The cache respects the following limits:

module type Resource_intf : sig ... end
module Config = Cache.Config
module type Status_intf : sig ... end
module Make = Cache.Make
module Address_config = Resource_cache__.Address_config
module Rpc_connection_resource = Resource_cache__.Rpc_connection_resource