package resource_cache

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

Innovation. Community. Security.