sig
type ic_manager
val create_manager : Unixqueue.event_system -> Plasma_inodecache.ic_manager
val enable :
Plasma_inodecache.ic_manager -> Rpc_proxy.ManagedClient.t -> unit
val disable : Plasma_inodecache.ic_manager -> unit
class type lazy_transaction =
object
method event_system : Unixqueue.event_system
method get_ii_e :
int64 -> bool -> Plasma_rpcapi_aux.inodeinfo Uq_engines.engine
method get_tid_e : unit -> int64 Uq_engines.engine
method invalidate_ii : int64 -> unit
method release_e : unit -> unit Uq_engines.engine
method snapshot : bool
end
val get_ii_e :
Plasma_inodecache.ic_manager ->
Rpc_proxy.ManagedClient.mclient ->
int64 -> int64 -> Plasma_rpcapi_aux.rinodeinfo Uq_engines.engine
val get_ii_from_cache_e :
Plasma_inodecache.ic_manager ->
int64 -> Plasma_rpcapi_aux.inodeinfo option Uq_engines.engine
val get_ii_via_cache_e :
Plasma_inodecache.ic_manager ->
Rpc_proxy.ManagedClient.mclient ->
Plasma_inodecache.lazy_transaction ->
int64 -> Plasma_rpcapi_aux.rinodeinfo Uq_engines.engine
val invalidate_ii : Plasma_inodecache.ic_manager -> int64 -> unit
val check_up_to_date_e :
Plasma_inodecache.ic_manager ->
Rpc_proxy.ManagedClient.mclient ->
Plasma_inodecache.lazy_transaction ->
int64 -> int64 -> bool Uq_engines.engine
type bl_cache
val create_bl_cache :
Rpc_proxy.ManagedClient.mclient ->
Plasma_inodecache.lazy_transaction -> int64 -> Plasma_inodecache.bl_cache
val get_blocks_e :
Plasma_inodecache.bl_cache ->
int64 -> int64 -> int64 -> Plasma_rpcapi_aux.rblocklist Uq_engines.engine
val get_blocks_from_cache_e :
Plasma_inodecache.bl_cache ->
int64 -> Plasma_rpcapi_aux.blocklist option Uq_engines.engine
val get_blocks_via_cache_e :
Plasma_inodecache.bl_cache ->
int64 -> Plasma_rpcapi_aux.rblocklist Uq_engines.engine
val snapshot_blocks_e :
?append:bool ->
Plasma_inodecache.bl_cache ->
Plasma_rpcapi_aux.inodeinfo -> Plasma_rpcapi_aux.rvoid Uq_engines.engine
val override_blocks :
Plasma_inodecache.bl_cache ->
int64 -> int64 -> Plasma_rpcapi_aux.blockinfo list -> unit
val forget_blocks : Plasma_inodecache.bl_cache -> int64 -> int64 -> unit
val expand_blocklist :
Plasma_rpcapi_aux.blockinfo list -> Plasma_rpcapi_aux.blockinfo list
end