Behaviours: gen_server.
Authors: Igor Kopestenski (igor.kopestenski@uclouvain.be) [web site: https://github.com/Laymer/achlys].
The garbage collection worker. The general purpose of this worker is to perform explicit calls to the Erlang @link erlang:garbage_collect function. The GC procedure itself generates overhead if performed too often, but has shown improvements in stability on GRiSP boards when intervals around 30 to 60 seconds
were used. The interval can be configured using the following parameter in a sys.config file :
{achlys, {gc_interval, 30000} }
Where gc_interval is set to 30 secondsflush_table/1 | Delete all objects in a given ETS table. |
start_link/0 | Starts the server. |
flush_table(Table::atom()) -> ok
Delete all objects in a given ETS table.
start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}
Starts the server
Generated by EDoc