Module Tjr_pcache

Persistent cache functionality.

include Tjr_pcache__.Summary
module Pcache_intf : sig ... end

Main pcache interfaces; don't open (defines buf and buf_ops)

module Detach_info = Pcache_intf.Detach_info
module Pcache_ops = Pcache_intf.Pcache_ops
module Pcache_state = Pcache_intf.Pcache_state
val empty_pcache_state : ptr:'a -> empty:'b -> ('a'b) Pcache_intf.pcache_state
type ('k, 'v, 'r, 'kvop_map, 't) pcache_ops = ('k'v'r'kvop_map't) Pcache_ops.pcache_ops
type ('k, 'v, 'r, 'buf, 'kvop_map, 't) pcache_factory = (('k'v) Tjr_fs_shared.kvop'k'v'r'buf'kvop_map't) Pcache_intf.pcache_factory

NOTE this is slightly different to the internal pcache_factory - the 'a is revealed as ('k,'v)kvop

module Make : sig ... end

Pcache constructor functions, using plist

val pcache_examples : < for_int_int : (Make.Examples.Int_int.S.a, int, int, Tjr_fs_shared.Shared_ctxt.blk_id, Tjr_fs_shared.Shared_ctxt.buf, Make.Examples.Int_int.kvop_map, Tjr_fs_shared.Shared_ctxt.t) Pcache_intf.pcache_factory; >