# Module cloudi_core_i_services_monitor

- Description
- Function Index
- Function Details

### CloudI Services

Manage all cloudi_core_i_spawn processes with monitors and their configuration.

Copyright © 2011-2017 Michael Truog

Version: 1.6.1 Mar 28 2017 19:21:40 ------------------------------------------------------------------------

Behaviours: `gen_server`.

Authors: Michael Truog (`mjtruog [at] gmail (dot) com`).

## Description

### CloudI Services

Manage all cloudi_core_i_spawn processes with monitors and their configuration. Perform process restarts but do not escalate failures (only log failures).

## Function Index

code_change/3 |
decrease/5 |
handle_call/3 |
handle_cast/2 |
handle_info/2 |
increase/5 |
init/1 |
initialize/1 |
monitor/13 |
pids/2 |
restart/2 |
search/2 |
shutdown/2 |
start_link/0 |
terminate/2 |
terminate_kill/2 |
update/2 |

## Function Details

### code_change/3

`code_change(X1, State, X3) -> any()`

### decrease/5

`decrease(Pid, Period, RateCurrent, RateMin, CountProcessMin) -> any()`

### handle_call/3

`handle_call(Request, X2, State) -> any()`

### handle_cast/2

`handle_cast(Request, State) -> any()`

### handle_info/2

`handle_info(Request, State) -> any()`

### increase/5

`increase(Pid, Period, RateCurrent, RateMax, CountProcessMax) -> any()`

### init/1

`init(X1) -> any()`

### initialize/1

`initialize(Pids::[pid()]) -> ok`

### monitor/13

`monitor(M::cloudi_core_i_spawn, F::start_internal | start_external, A::list(), ProcessIndex::non_neg_integer(), CountProcess::pos_integer(), CountThread::pos_integer(), Scope::atom(), TimeoutTerm::cloudi_service_api:timeout_terminate_value_milliseconds(), RestartDelay::tuple() | false, MaxR::non_neg_integer(), MaxT::non_neg_integer(), ServiceId::uuid:uuid(), Timeout::infinity | pos_integer()) -> {ok, [pid()]} | {error, any()}`

### pids/2

`pids(ServiceId, Timeout) -> any()`

### restart/2

`restart(ServiceId, Timeout) -> any()`

### search/2

`search(PidList, Timeout) -> any()`

### shutdown/2

`shutdown(ServiceId, Timeout) -> any()`

### start_link/0

`start_link() -> any()`

### terminate/2

`terminate(X1, X2) -> any()`

### terminate_kill/2

`terminate_kill(Pid, Reason) -> any()`

### update/2

`update(UpdatePlan, Timeout) -> any()`

Generated by EDoc, Mar 28 2017, 19:21:40.