Xenstore_server.Quota
val maxent_overrides : overrides
Per-domain overrides for the maxent limit
val maxwatch_overrides : overrides
Per-domain overrides for the maxwatch limit
val maxtransaction_overrides : overrides
Per-domain overrides for the maxtransaction limit
val maxwatchevent_overrides : overrides
Per-domain overrides for the maxwatchevent limit
val set_override : overrides -> int -> int option -> unit
set_override kind t domid x
sets the kind
override for domid
to x
val get_override : overrides -> int -> int option
get_override kind t domid
returns any current kind
override for domid
val list_overrides : overrides -> (int * int) list
list_overrides kind
returns the current kind
(domid, override) pairs
maxwatch_of_domain domid
returns the max number of watches for domid
maxtransaction_of_domain domid
returns the max number of transactions for domid
maxwatchevent_of_domain domid
returns the max number of outstanding watch events for domid
val create : unit -> t
Create an empty t
val check : t -> int -> int -> unit
check t domid size
throws Data_too_big if size
is too large throws Limit_reached if domid
has reached its entry limit
val get : t -> int -> int
get domid
returns the number of entries associated with domid
val list : t -> (int * int) list
list t
returns all (domid, entry count) pairs
val incr : t -> int -> unit
incr t domid
adds an entry to domid
val decr : t -> int -> unit
decr t domid
removes an entry from domid