Module rabbit_event

Data Types

container()

container() = tuple()

event()

event() = #event{type = event_type(), props = event_props(), reference = none | reference(), timestamp = event_timestamp()}

event_props()

event_props() = term()

event_timestamp()

event_timestamp() = non_neg_integer()

event_type()

event_type() = atom()

level()

level() = none | coarse | fine

pos()

pos() = non_neg_integer()

timer_fun()

timer_fun() = fun(() -> ok)

Function Index

ensure_stats_timer/3
if_enabled/3
init_disabled_stats_timer/2
init_stats_timer/2
notify/2
notify/3
notify_if/3
reset_stats_timer/2
start_link/0
stats_level/2
stop_stats_timer/2
sync_notify/2
sync_notify/3

Function Details

ensure_stats_timer/3

ensure_stats_timer(C::container(), P::pos(), Msg::term()) -> container()

if_enabled/3

if_enabled(C::container(), P::pos(), Fun::timer_fun()) -> ok

init_disabled_stats_timer/2

init_disabled_stats_timer(C::container(), P::pos()) -> container()

init_stats_timer/2

init_stats_timer(C::container(), P::pos()) -> container()

notify/2

notify(Type::event_type(), Props::event_props()) -> ok

notify/3

notify(Type::event_type(), Props::event_props(), Ref::reference() | none) -> ok

notify_if/3

notify_if(X1::boolean(), Type::event_type(), Props::event_props()) -> ok

reset_stats_timer/2

reset_stats_timer(C::container(), P::pos()) -> container()

start_link/0

start_link() -> rabbit_types:ok_pid_or_error()

stats_level/2

stats_level(C::container(), P::pos()) -> level()

stop_stats_timer/2

stop_stats_timer(C::container(), P::pos()) -> container()

sync_notify/2

sync_notify(Type::event_type(), Props::event_props()) -> ok

sync_notify/3

sync_notify(Type::event_type(), Props::event_props(), Ref::reference() | none) -> ok


Generated by EDoc