package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val close_resource_on_unhandled_exn : (t, bool) Fieldslib.Field.t
val close_idle_resources_when_at_limit : (t, bool) Fieldslib.Field.t
val max_resource_reuse : (t, int) Fieldslib.Field.t
val max_resources_per_id : (t, int) Fieldslib.Field.t
val idle_cleanup_after : (t, Core.Time_ns.Span.t) Fieldslib.Field.t
val max_resources : (t, int) Fieldslib.Field.t
val fold : init:'acc__0 -> max_resources:('acc__0 -> (t, int) Fieldslib.Field.t -> 'acc__1) -> idle_cleanup_after: ('acc__1 -> (t, Core.Time_ns.Span.t) Fieldslib.Field.t -> 'acc__2) -> max_resources_per_id:('acc__2 -> (t, int) Fieldslib.Field.t -> 'acc__3) -> max_resource_reuse:('acc__3 -> (t, int) Fieldslib.Field.t -> 'acc__4) -> close_idle_resources_when_at_limit: ('acc__4 -> (t, bool) Fieldslib.Field.t -> 'acc__5) -> close_resource_on_unhandled_exn: ('acc__5 -> (t, bool) Fieldslib.Field.t -> 'acc__6) -> 'acc__6
val make_creator : max_resources: ((t, int) Fieldslib.Field.t -> 'acc__0 -> ('input__ -> int) * 'acc__1) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> 'acc__1 -> ('input__ -> Core.Time_ns.Span.t) * 'acc__2) -> max_resources_per_id: ((t, int) Fieldslib.Field.t -> 'acc__2 -> ('input__ -> int) * 'acc__3) -> max_resource_reuse: ((t, int) Fieldslib.Field.t -> 'acc__3 -> ('input__ -> int) * 'acc__4) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> 'acc__4 -> ('input__ -> bool) * 'acc__5) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> 'acc__5 -> ('input__ -> bool) * 'acc__6) -> 'acc__0 -> ('input__ -> t) * 'acc__6
val create : max_resources:int -> idle_cleanup_after:Core.Time_ns.Span.t -> max_resources_per_id:int -> max_resource_reuse:int -> close_idle_resources_when_at_limit:bool -> close_resource_on_unhandled_exn:bool -> t
val map : max_resources:((t, int) Fieldslib.Field.t -> int) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> Core.Time_ns.Span.t) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> int) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> int) -> close_idle_resources_when_at_limit:((t, bool) Fieldslib.Field.t -> bool) -> close_resource_on_unhandled_exn:((t, bool) Fieldslib.Field.t -> bool) -> t
val iter : max_resources:((t, int) Fieldslib.Field.t -> unit) -> idle_cleanup_after:((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> unit) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> unit) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> unit) -> close_idle_resources_when_at_limit:((t, bool) Fieldslib.Field.t -> unit) -> close_resource_on_unhandled_exn:((t, bool) Fieldslib.Field.t -> unit) -> unit
val for_all : max_resources:((t, int) Fieldslib.Field.t -> bool) -> idle_cleanup_after:((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> bool) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> bool) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> bool) -> close_idle_resources_when_at_limit:((t, bool) Fieldslib.Field.t -> bool) -> close_resource_on_unhandled_exn:((t, bool) Fieldslib.Field.t -> bool) -> bool
val exists : max_resources:((t, int) Fieldslib.Field.t -> bool) -> idle_cleanup_after:((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> bool) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> bool) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> bool) -> close_idle_resources_when_at_limit:((t, bool) Fieldslib.Field.t -> bool) -> close_resource_on_unhandled_exn:((t, bool) Fieldslib.Field.t -> bool) -> bool
val to_list : max_resources:((t, int) Fieldslib.Field.t -> 'elem__) -> idle_cleanup_after:((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> 'elem__) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> 'elem__) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> 'elem__) -> close_idle_resources_when_at_limit:((t, bool) Fieldslib.Field.t -> 'elem__) -> close_resource_on_unhandled_exn:((t, bool) Fieldslib.Field.t -> 'elem__) -> 'elem__ list
val map_poly : ([< `Read | `Set_and_create ], t, 'x0) Fieldslib.Field.user -> 'x0 list
module Direct : sig ... end
OCaml

Innovation. Community. Security.