Raw_context.Cache
include Mavryk_protocol_environment_alpha.Context.CACHE
with type t := t
and type size := int
and type index := int
and type identifier := string
and type key = Mavryk_protocol_environment_alpha.Context.Cache.key
and type value = Mavryk_protocol_environment_alpha.Context.Cache.value
type value = Mavryk_protocol_environment_alpha.Context.Cache.value = ..
val key_of_identifier : cache_index:int -> string -> key
val identifier_of_key : key -> string
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unit
val find : t -> key -> value option Mavryk_protocol_environment_alpha.Lwt.t
val set_cache_layout :
t ->
int list ->
t Mavryk_protocol_environment_alpha.Lwt.t
val cache_size : t -> cache_index:int -> int option
val cache_size_limit : t -> cache_index:int -> int option
val sync : t -> bytes -> t Mavryk_protocol_environment_alpha.Lwt.t