package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val iter : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> unit) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> unit) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> t -> int -> unit) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> t -> int -> unit) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> t -> bool -> unit) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> t -> bool -> unit) -> unit
val fold : t -> init:'acc__0 -> max_resources:('acc__0 -> (t, int) Fieldslib.Field.t -> t -> int -> 'acc__1) -> idle_cleanup_after: ('acc__1 -> (t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> 'acc__2) -> max_resources_per_id: ('acc__2 -> (t, int) Fieldslib.Field.t -> t -> int -> 'acc__3) -> max_resource_reuse: ('acc__3 -> (t, int) Fieldslib.Field.t -> t -> int -> 'acc__4) -> close_idle_resources_when_at_limit: ('acc__4 -> (t, bool) Fieldslib.Field.t -> t -> bool -> 'acc__5) -> close_resource_on_unhandled_exn: ('acc__5 -> (t, bool) Fieldslib.Field.t -> t -> bool -> 'acc__6) -> 'acc__6
val for_all : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> bool) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> bool
val exists : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> bool) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> bool
val to_list : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> 'elem__) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> 'elem__) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> t -> int -> 'elem__) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> t -> int -> 'elem__) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> t -> bool -> 'elem__) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> t -> bool -> 'elem__) -> 'elem__ list
val map : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> int) -> idle_cleanup_after: ((t, Core.Time_ns.Span.t) Fieldslib.Field.t -> t -> Core.Time_ns.Span.t -> Core.Time_ns.Span.t) -> max_resources_per_id:((t, int) Fieldslib.Field.t -> t -> int -> int) -> max_resource_reuse:((t, int) Fieldslib.Field.t -> t -> int -> int) -> close_idle_resources_when_at_limit: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> close_resource_on_unhandled_exn: ((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> t
val set_all_mutable_fields : t -> unit
OCaml

Innovation. Community. Security.