Copyright © 2007 Mochi Media, Inc.
Behaviours: gen_server.
Authors: Matthew Dempsky (matthew@mochimedia.com).
| add_libdir/1 | |
| add_path/1 | |
| all_changed/0 | Return a list of beam modules that have changed. |
| code_change/3 | gen_server code_change callback (trivial). |
| handle_call/3 | gen_server callback. |
| handle_cast/2 | gen_server callback. |
| handle_info/2 | gen_server callback. |
| init/1 | gen_server init, opens the server in an initial state. |
| is_changed/1 | true if the loaded module is a beam with a vsn attribute and does not match the on-disk beam file, returns false otherwise. |
| module_status/1 | |
| reload_app/0 | |
| reload_app/1 | |
| reload_modules/1 | code:purge/1 and code:load_file/1 the given list of modules in order, return the results of code:load_file/1. |
| start/0 | Start the reloader. |
| start_link/0 | Start the reloader. |
| stop/0 | Stop the reloader. |
| terminate/2 | gen_server termination callback. |
| update_app/0 | |
| update_app/1 | |
| update_path/0 | |
| update_path/1 |
add_libdir(G) -> any()
add_path(G) -> any()
all_changed() -> [atom()]
Return a list of beam modules that have changed.
code_change(Vsn::_OldVsn, State, Extra::_Extra) -> State
gen_server code_change callback (trivial).
handle_call(Req::Args, From, State) -> tuple()
gen_server callback.
handle_cast(Req::Cast, State) -> tuple()
gen_server callback.
handle_info(Info, State) -> tuple()
gen_server callback.
init(X1::[]) -> {ok, State}
gen_server init, opens the server in an initial state.
is_changed(M::atom()) -> boolean()
true if the loaded module is a beam with a vsn attribute and does not match the on-disk beam file, returns false otherwise.
module_status(M) -> any()
reload_app() -> any()
reload_app(Apps) -> any()
reload_modules(Modules::[atom()]) -> [{module, atom()} | {error, term()}]
code:purge/1 and code:load_file/1 the given list of modules in order, return the results of code:load_file/1.
start() -> ServerRet
Start the reloader.
start_link() -> ServerRet
Start the reloader.
stop() -> ok
Stop the reloader.
terminate(Reason, State) -> ok
gen_server termination callback.
update_app() -> any()
update_app(App) -> any()
update_path() -> any()
update_path(Ds) -> any()
Generated by EDoc