package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val max_time_on_queue : (t, Core.Time.Span.t option) Fieldslib.Field.t
val queue_length : (t, int) Fieldslib.Field.t
val resources : (t, Resource.t list) Fieldslib.Field.t
val fold : init:'acc__0 -> key:('acc__0 -> (t, Key.t) Fieldslib.Field.t -> 'acc__1) -> resources:('acc__1 -> (t, Resource.t list) Fieldslib.Field.t -> 'acc__2) -> queue_length:('acc__2 -> (t, int) Fieldslib.Field.t -> 'acc__3) -> max_time_on_queue: ('acc__3 -> (t, Core.Time.Span.t option) Fieldslib.Field.t -> 'acc__4) -> 'acc__4
val make_creator : key: ((t, Key.t) Fieldslib.Field.t -> 'acc__0 -> ('input__ -> Key.t) * 'acc__1) -> resources: ((t, Resource.t list) Fieldslib.Field.t -> 'acc__1 -> ('input__ -> Resource.t list) * 'acc__2) -> queue_length: ((t, int) Fieldslib.Field.t -> 'acc__2 -> ('input__ -> int) * 'acc__3) -> max_time_on_queue: ((t, Core.Time.Span.t option) Fieldslib.Field.t -> 'acc__3 -> ('input__ -> Core.Time.Span.t option) * 'acc__4) -> 'acc__0 -> ('input__ -> t) * 'acc__4
val create : key:Key.t -> resources:Resource.t list -> queue_length:int -> max_time_on_queue:Core.Time.Span.t option -> t
val map : key:((t, Key.t) Fieldslib.Field.t -> Key.t) -> resources:((t, Resource.t list) Fieldslib.Field.t -> Resource.t list) -> queue_length:((t, int) Fieldslib.Field.t -> int) -> max_time_on_queue: ((t, Core.Time.Span.t option) Fieldslib.Field.t -> Core.Time.Span.t option) -> t
val iter : key:((t, Key.t) Fieldslib.Field.t -> unit) -> resources:((t, Resource.t list) Fieldslib.Field.t -> unit) -> queue_length:((t, int) Fieldslib.Field.t -> unit) -> max_time_on_queue:((t, Core.Time.Span.t option) Fieldslib.Field.t -> unit) -> unit
val for_all : key:((t, Key.t) Fieldslib.Field.t -> bool) -> resources:((t, Resource.t list) Fieldslib.Field.t -> bool) -> queue_length:((t, int) Fieldslib.Field.t -> bool) -> max_time_on_queue:((t, Core.Time.Span.t option) Fieldslib.Field.t -> bool) -> bool
val exists : key:((t, Key.t) Fieldslib.Field.t -> bool) -> resources:((t, Resource.t list) Fieldslib.Field.t -> bool) -> queue_length:((t, int) Fieldslib.Field.t -> bool) -> max_time_on_queue:((t, Core.Time.Span.t option) Fieldslib.Field.t -> bool) -> bool
val to_list : key:((t, Key.t) Fieldslib.Field.t -> 'elem__) -> resources:((t, Resource.t list) Fieldslib.Field.t -> 'elem__) -> queue_length:((t, int) Fieldslib.Field.t -> 'elem__) -> max_time_on_queue:((t, Core.Time.Span.t option) 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.