package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. max_open_connections : int;
  2. cleanup_idle_connection_after : Core.Time.Span.t;
  3. max_connections_per_address : int;
  4. max_connection_reuse : int;
}
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val max_connection_reuse : t -> int
val max_connections_per_address : t -> int
val cleanup_idle_connection_after : t -> Core.Time.Span.t
val max_open_connections : t -> int
module Fields : sig ... end
val bin_read_t : t Core.Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Core.Bin_prot.Read.reader
val bin_size_t : t Core.Bin_prot.Size.sizer
val bin_write_t : t Core.Bin_prot.Write.writer
val bin_shape_t : Core.Bin_prot.Shape.t
val compare : t -> t -> int
val create : max_open_connections:int -> cleanup_idle_connection_after:Core.Time.Span.t -> max_connections_per_address:int -> max_connection_reuse:int -> t
val to_cache_config : t -> Cache.Config.t
val of_cache_config : Cache.Config.t -> t