Liking cljdoc? Tell your friends :D

eu.mulk.instadump


call-with-dbclj

(call-with-db thunk)

defstatecljmacro

(defstate sym default)

Define a global ref managed by Instadump. The supplied default value is used if the variable cannot be found in the database. Otherwise, the value stored in the database is used.

Define a global ref managed by Instadump.  The supplied default
value is used if the variable cannot be found in the database.
Otherwise, the value stored in the database is used.
raw docstring

getkeyclj

(getkey key default)

reload-all-global-state!clj

(reload-all-global-state!)

Direct Instadump to revert all variables created by defstate to the state saved by the last invocation of save-all-global-state!. Will fail if any variables cannot be restored (e.g. if some variables have never been saved before).

Direct Instadump to revert all variables created by defstate to the
state saved by the last invocation of save-all-global-state!.  Will
fail if any variables cannot be restored (e.g. if some variables
have never been saved before).
raw docstring

save-all-global-state!clj

(save-all-global-state!)

Direct Instadump to dump a snapshot of all variables created by defstate into the database. save-all-global-state! runs in an implicit transaction in order to ensure data consistency.

Direct Instadump to dump a snapshot of all variables created by
defstate into the database.  save-all-global-state! runs in an
implicit transaction in order to ensure data consistency.
raw docstring

setup-instadump!clj

(setup-instadump! dirname)

Set up the Instadump database at the file system location indicated by dirname.

Set up the Instadump database at the file system location indicated
by dirname.
raw docstring

state-varsclj


with-dbcljmacro

(with-db & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close