`sig
type 'a t
type 'a priority_queue = 'a Timing_wheel_intf.Timing_wheel.Priority_queue.t
module Key : Interval_num
module Elt :
sig
type 'a t
val invariant :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.priority_queue ->
'a Invariant.t ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t Invariant.t
val key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.priority_queue ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t -> Key.t
val value :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.priority_queue ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t -> 'a
val sexp_of_t :
('a -> Sexplib.Sexp.t) ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t ->
Sexplib.Sexp.t
end
val invariant : 'a Invariant_intf.inv -> 'a t Invariant_intf.inv
val create :
?level_bits:Timing_wheel_intf.Timing_wheel.Level_bits.t ->
unit -> 'a Timing_wheel_intf.Timing_wheel.Priority_queue.t
val length : 'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> int
val is_empty : 'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> bool
val min_allowed_key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> Key.t
val max_allowed_key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> Key.t
val min_elt :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t option
val min_key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> Key.t option
val add :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
key:Key.t -> 'a -> 'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t
val remove :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t -> unit
val change_key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t ->
key:Key.t -> unit
val clear : 'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> unit
val mem :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t -> bool
val increase_min_allowed_key :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
key:Key.t ->
handle_removed:('a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t ->
unit) ->
unit
val iter :
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t ->
f:('a Timing_wheel_intf.Timing_wheel.Priority_queue.Elt.t -> unit) ->
unit
val sexp_of_t :
('a -> Sexplib.Sexp.t) ->
'a Timing_wheel_intf.Timing_wheel.Priority_queue.t -> Sexplib.Sexp.t
end`