Module template_compiler_admin

Administrate all compiled templates and compilers in flight.

Copyright © 2016-2020 Marc Worrell

Behaviours: gen_server.

Authors: Marc Worrell (marc@worrell.nl).

Description

Administrate all compiled templates and compilers in flight.

Function Index

code_change/3
flush/0Flush all template mappings.
flush_context_name/1Ping that a context has changed.
flush_file/1Ping that a template has been changed.
handle_call/3
handle_cast/2
handle_info/2
init/1
lookup/3Find a template, start a compilation if not found.
start_link/0
terminate/2

Function Details

code_change/3

code_change(FromVersion, State, Extra) -> any()

flush/0

flush() -> ok

Flush all template mappings

flush_context_name/1

flush_context_name(ContextName::term()) -> ok

Ping that a context has changed

flush_file/1

flush_file(Filename::file:filename_all()) -> ok

Ping that a template has been changed

handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Msg, State) -> any()

init/1

init(X1) -> any()

lookup/3

lookup(Filename::file:filename_all(), Options::template_compiler:options(), Context::any()) -> {ok, atom()} | {error, term()}

Find a template, start a compilation if not found

start_link/0

start_link() -> {ok, pid()} | {error, any()}

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc