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.Span.t) Fieldslib.Field.t -> t -> Core.Time.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) -> 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.Span.t) Fieldslib.Field.t -> t -> Core.Time.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) -> 'acc__4
val for_all : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> idle_cleanup_after: ((t, Core.Time.Span.t) Fieldslib.Field.t -> t -> Core.Time.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) -> bool
val exists : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> bool) -> idle_cleanup_after: ((t, Core.Time.Span.t) Fieldslib.Field.t -> t -> Core.Time.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) -> bool
val to_list : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> 'elem__) -> idle_cleanup_after: ((t, Core.Time.Span.t) Fieldslib.Field.t -> t -> Core.Time.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__) -> 'elem__ list
val map : t -> max_resources:((t, int) Fieldslib.Field.t -> t -> int -> int) -> idle_cleanup_after: ((t, Core.Time.Span.t) Fieldslib.Field.t -> t -> Core.Time.Span.t -> Core.Time.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) -> t
val set_all_mutable_fields : t -> unit
OCaml

Innovation. Community. Security.