diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2015-02-03 12:45:50 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2015-02-03 12:45:50 +0000 |
| commit | eef82dd50b400442b42b40ff2d526247f397eab5 (patch) | |
| tree | fe25215006f2c05dc593dcf51cce96a88abc38dd | |
| parent | 52abb3b207788eb80801b2397727e1bd8f34feaf (diff) | |
| parent | 2c5eaa3f5628c3cddad321b5ceb5e7434d420979 (diff) | |
| download | rabbitmq-server-git-eef82dd50b400442b42b40ff2d526247f397eab5.tar.gz | |
Merge bug26572
| -rw-r--r-- | src/pmon.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pmon.erl b/src/pmon.erl index a94f5a67af..7981742284 100644 --- a/src/pmon.erl +++ b/src/pmon.erl @@ -16,6 +16,19 @@ -module(pmon). +%% Process Monitor +%% ================ +%% +%% This module monitors processes so that every process has at most +%% 1 monitor. +%% Processes monitored can be dynamically added and removed. +%% +%% Unlike erlang:[de]monitor* functions, this module +%% provides basic querying capability and avoids contacting down nodes. +%% +%% It is used to monitor nodes, queue mirrors, and by +%% the queue collector, among other things. + -export([new/0, new/1, monitor/2, monitor_all/2, demonitor/2, is_monitored/2, erase/2, monitored/1, is_empty/1]). |
