anchor.diff:        case MapState of
           ok ->
             {MapState2, Ans} = add_children(Node, Children, Workers),
  +          lifecycle_notification(Node, Id, ?ACTION_START_WORKER, Workers),
             {MapState2, [{Node, Id, ChildPid} | Ans]};
           _ -> {error, Workers}
         end
  
positive.code:   erlang:send_after(LoggerAndDAOInterval * 1000 + 200, Pid, {timer, get_state_from_db}),
    {ok, MonitoringInitialization} = application:get_env(?APP_Name, cluster_monitoring_initialization),
    erlang:send_after(1000 * MonitoringInitialization, self(), {timer, start_cluster_monitoring}),
    {ok, #cm_state{}};
  
  init([test]) ->
    ets:new(?CALLBACKS_TABLE, [named_table, set]),
    process_flag(trap_exit, true),
    {ok, #cm_state{nodes = [node()]}}.
  
  %% handle_call/3
  %% ====================================================================
  
negative.code: -define(STATS_WEIGHTS, [{"cpu", 100}, {"mem", 100}]).
  -define(CALLBACKS_TABLE, callbacks_table).
  
  -define(ACTION_START_WORKER, start_worker).
  -define(ACTION_STOP_WORKER, stop_worker).
  
  %%
  -define(MODULE_LIFECYCLE_LISTENERS_ETS, module_lifecycle_listeners_table).
  
  %% Singleton modules are modules which are supposed to have only one instance.
  -define(SINGLETON_MODULES, [control_panel, central_logger, rule_manager, rtransfer]).
  
  %% Modules that are present on all workers.
  -define(PERMAMENT_MODULES, [gateway]).
  
  -record(cluster_stats, {cpu = {0, 0}, memory = {0, 0}, net_rx_b = {0, 0}, net_tx_b = {0, 0}, net_rx_pps = {0, 0},
    net_tx_pps = {0, 0}, ports_rx_b = {0, 0}, ports_tx_b = {0, 0}}).
  