Module cloudi_core_i_rate_based_configuration

CloudI Rate-Based Configuration

Routines for service request rate-based configuration adjustments.

Copyright © 2013-2016 Michael Truog

Version: 1.5.2 Sep 14 2016 16:25:21 ------------------------------------------------------------------------

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

Description

CloudI Rate-Based Configuration

Routines for service request rate-based configuration adjustments.

Function Index

count_process_dynamic_format/1
count_process_dynamic_init/1
count_process_dynamic_reinit/2
count_process_dynamic_request/1
count_process_dynamic_terminate/1
count_process_dynamic_terminate_set/2
count_process_dynamic_terminated/1
count_process_dynamic_update/2
count_process_dynamic_validate/2
hibernate_check/1
hibernate_format/1
hibernate_init/1
hibernate_reinit/1
hibernate_request/1
hibernate_validate/1
rate_request_format/1
rate_request_init/1
rate_request_reinit/1
rate_request_request/1
rate_request_validate/1

Function Details

count_process_dynamic_format/1

count_process_dynamic_format(Count_process_dynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()} | false) -> [{atom(), any()}] | false

count_process_dynamic_init/1

count_process_dynamic_init(CountProcessDynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}) -> #count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}

count_process_dynamic_reinit/2

count_process_dynamic_reinit(Dispatcher::pid(), CountProcessDynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}) -> #count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}

count_process_dynamic_request/1

count_process_dynamic_request(CountProcessDynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}) -> #count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}

count_process_dynamic_terminate/1

count_process_dynamic_terminate(Pid::pid()) -> ok

count_process_dynamic_terminate_set/2

count_process_dynamic_terminate_set(ReceiverPid::pid(), CountProcessDynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}) -> #count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()}

count_process_dynamic_terminated/1

count_process_dynamic_terminated(CountProcessDynamic::#count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()} | false) -> boolean()

count_process_dynamic_update/2

count_process_dynamic_update(Pid::pid(), CountProcess::pos_integer()) -> ok

count_process_dynamic_validate/2

count_process_dynamic_validate(Options::[{atom(), any()}] | false, CountProcess::number() | undefined) -> {ok, #count_process_dynamic{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), rate_min = undefined | number(), count_process_max = undefined | pos_integer(), count_process_min = undefined | pos_integer(), terminate = boolean()} | false} | {error, {service_options_count_process_dynamic_invalid, any()}}

hibernate_check/1

hibernate_check(Value::#hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()} | boolean()) -> boolean()

hibernate_format/1

hibernate_format(Hibernate::#hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()} | true | false) -> [{atom(), any()}] | true | false

hibernate_init/1

hibernate_init(Hibernate::#hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()}) -> #hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()}

hibernate_reinit/1

hibernate_reinit(Hibernate::#hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()} | boolean()) -> {boolean(), #hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()} | boolean()}

hibernate_request/1

hibernate_request(Hibernate::#hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()}) -> #hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()}

hibernate_validate/1

hibernate_validate(Options::[{atom(), any()}] | true | false) -> {ok, #hibernate{method = undefined | rate_request, period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_min = undefined | number(), hibernate = boolean()} | true | false} | {error, {service_options_hibernate_invalid, any()}}

rate_request_format/1

rate_request_format(Rate_request::#rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()} | undefined) -> [{atom(), any()}] | undefined

rate_request_init/1

rate_request_init(RateRequest::#rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()}) -> #rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()}

rate_request_reinit/1

rate_request_reinit(RateRequest::#rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()} | undefined) -> #rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()}

rate_request_request/1

rate_request_request(RateRequest::#rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()}) -> {boolean(), #rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()}}

rate_request_validate/1

rate_request_validate(Value::[{atom(), any()}] | number() | undefined) -> {ok, #rate_request{period = undefined | cloudi_service_api:period_seconds(), count = non_neg_integer(), rate_max = undefined | number(), blocking = boolean()} | undefined} | {error, {service_options_rate_request_max_invalid, any()}}


Generated by EDoc, Sep 14 2016, 16:25:21.