Module mero_conf

Lists all modules.

Description

Lists all modules

Data Types

mero_conf_value()

mero_conf_value(Type) = Type | per_pool_config_value(Type)

per_pool_config_value()

per_pool_config_value(Type) = {by_pool, Default::Type, [{Pool::atom(), Value::Type}]}

Function Index

add_now/1
add_now/2
cluster_config/0 Returns the cluster configuration.
cluster_config/1
connection_unused_max_time/1
elasticache_load_config_delay/0Returns the amount of milliseconds to wait before reading elasticache config.
elasticache_load_config_delay/1Sets the amount of milliseconds to wait before reading elasticache config.
expiration_interval/1
get_elasticache_cluster_configs/1
initial_connections_per_pool/1
key_expiration_time/1
max_connection_delay_time/1
max_connections_per_pool/1
millis_to/1
millis_to/2
min_free_connections_per_pool/1
monitor_heartbeat_delay/0Returns a _randomized_ time to wait between config checkes, in milliseconds.
monitor_heartbeat_delay/2Sets the boundaries of the time to wait between config checkes, in milliseconds.
pool_connection_unused_max_time/1 Maximum time that a connection can be inactive before closing it (millis).
pool_expiration_interval/1 Checks for unused sockets every XX (millis) and closes them.
pool_initial_connections/1 Number of sockets that each pool will open on startup.
pool_key_expiration_time/1 Gets the default value for a key expiration time.
pool_max_connection_delay_time/1 maximum delay establishing initial connections.
pool_max_connections/1
pool_min_connection_interval/1 min delay between connection attempts.
pool_min_free_connections/1 If the number of free sockets is smaller than this the pool will asyncronously create new ones to ensure we dont run out of them.
pool_timeout_read/1 Read timeout in milliseconds.
pool_timeout_write/1 Write timeout in milliseconds.
pool_write_retries/1 Number of retries for write operations.
process_server_specs/1
stat_callback/0 maximum delay establishing initial connections (ms).
stat_callback/1
timeout_read/1
timeout_write/1
write_retries/1

Function Details

add_now/1

add_now(Timeout) -> any()

add_now/2

add_now(Timeout, Then) -> any()

cluster_config/0

cluster_config() -> mero:cluster_config()

Returns the cluster configuration

cluster_config/1

cluster_config(ClusterConfig::term()) -> ok

connection_unused_max_time/1

connection_unused_max_time(Val::mero_conf_value(integer())) -> ok

elasticache_load_config_delay/0

elasticache_load_config_delay() -> non_neg_integer()

Returns the amount of milliseconds to wait before reading elasticache config

elasticache_load_config_delay/1

elasticache_load_config_delay(Millis::non_neg_integer()) -> ok

Sets the amount of milliseconds to wait before reading elasticache config

expiration_interval/1

expiration_interval(Val::mero_conf_value(integer())) -> ok

get_elasticache_cluster_configs/1

get_elasticache_cluster_configs(X1) -> any()

initial_connections_per_pool/1

initial_connections_per_pool(Initial::mero_conf_value(integer())) -> ok

key_expiration_time/1

key_expiration_time(Time::mero_conf_value(integer())) -> ok

max_connection_delay_time/1

max_connection_delay_time(Val::mero_conf_value(integer())) -> ok

max_connections_per_pool/1

max_connections_per_pool(Max::mero_conf_value(integer())) -> ok

millis_to/1

millis_to(TimeLimit) -> any()

millis_to/2

millis_to(TimeLimit, Then) -> any()

min_free_connections_per_pool/1

min_free_connections_per_pool(MinFree::mero_conf_value(integer())) -> ok

monitor_heartbeat_delay/0

monitor_heartbeat_delay() -> any()

Returns a _randomized_ time to wait between config checkes, in milliseconds

monitor_heartbeat_delay/2

monitor_heartbeat_delay(Min, Max) -> any()

Sets the boundaries of the time to wait between config checkes, in milliseconds

pool_connection_unused_max_time/1

pool_connection_unused_max_time(Pool::atom()) -> timeout()

Maximum time that a connection can be inactive before closing it (millis)

pool_expiration_interval/1

pool_expiration_interval(Pool::atom()) -> integer()

Checks for unused sockets every XX (millis) and closes them.

pool_initial_connections/1

pool_initial_connections(Pool::atom()) -> integer()

Number of sockets that each pool will open on startup

pool_key_expiration_time/1

pool_key_expiration_time(Pool::atom()) -> integer()

Gets the default value for a key expiration time

pool_max_connection_delay_time/1

pool_max_connection_delay_time(Pool::atom()) -> integer()

maximum delay establishing initial connections

pool_max_connections/1

pool_max_connections(Pool::atom()) -> integer()

pool_min_connection_interval/1

pool_min_connection_interval(Pool::atom()) -> integer()

min delay between connection attempts

pool_min_free_connections/1

pool_min_free_connections(Pool::atom()) -> integer()

If the number of free sockets is smaller than this the pool will asyncronously create new ones to ensure we dont run out of them.

pool_timeout_read/1

pool_timeout_read(Pool::atom()) -> integer()

Read timeout in milliseconds

pool_timeout_write/1

pool_timeout_write(Pool::atom()) -> integer()

Write timeout in milliseconds

pool_write_retries/1

pool_write_retries(Pool::atom()) -> integer()

Number of retries for write operations

process_server_specs/1

process_server_specs(Clusters::mero:cluster_config()) -> mero:cluster_config()

stat_callback/0

stat_callback() -> {Module::module(), Function::atom()}

maximum delay establishing initial connections (ms)

stat_callback/1

stat_callback(Val::{Module::module(), Function::atom()}) -> ok

timeout_read/1

timeout_read(Timeout::mero_conf_value(integer())) -> ok

timeout_write/1

timeout_write(Timeout::mero_conf_value(integer())) -> ok

write_retries/1

write_retries(Timeout::mero_conf_value(integer())) -> ok


Generated by EDoc