Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7c62863b04
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.699 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
include Db_interface.DB_ACCESS

(** [make t connections default_schema] initialises the in-memory cache *)
val make : Db_ref.t -> Parse_db_conf.db_connection list -> Schema.t -> unit

(** [flush_and_exit db code] flushes the specific backend [db] and exits
xapi with [code] *)
val flush_and_exit : Parse_db_conf.db_connection -> int -> unit

(** [sync db] forcibly flushes the database to disk *)
val sync : Parse_db_conf.db_connection list -> Db_cache_types.Database.t -> unit

(** [stats t] returns some stats data for logging *)
val stats : Db_ref.t -> (string * int) list

(** [refresh_row context tbl ref] generates a RefreshRow event *)
val refresh_row : Db_ref.t -> string -> string -> unit
Something went wrong with that request. Please try again.