Liking cljdoc? Tell your friends :D

telsos.sysload


analyze-system-sourcesclj

(analyze-system-sources source-dirs)

Analyzes source directories and builds a namespace dependency graph.

Returns a map with:

  • :source-files - collection of source file objects
  • :namespace-names - vector of namespace symbols
  • :namespace-name->source-file - map from namespace symbol to file
  • :namespaces-graph - dependency graph (clojure.tools.namespace.dependency/MapDependencyGraph)
Analyzes source directories and builds a namespace dependency graph.

Returns a map with:
- :source-files - collection of source file objects
- :namespace-names - vector of namespace symbols
- :namespace-name->source-file - map from namespace symbol to file
- :namespaces-graph - dependency graph (clojure.tools.namespace.dependency/MapDependencyGraph)
raw docstring

bootclj


ensure-state-ns!clj

(ensure-state-ns!)

Creates or retrieves the internal state namespace used for storing load state. Returns the state namespace.

Creates or retrieves the internal state namespace used for storing load state.
Returns the state namespace.
raw docstring

gcclj


gc-implclj

(gc-impl)
(gc-impl {:keys [verbose?]})

loadtimeclj

(loadtime)

Returns the timestamp (in milliseconds) of the last system load/reload.

Returns the timestamp (in milliseconds) of the last system load/reload.
raw docstring

middlewareclj

(middleware handler)

namespace-names-orderedclj

(namespace-names-ordered namespaces-graph namespace-names)

Orders namespace names based on their dependencies using topological sort. Namespaces are ordered so that dependencies come before their dependents.

Arguments:

  • namespaces-graph: dependency graph from analyze-system-sources
  • namespace-names: collection of namespace symbols to order

Returns a sequence of namespace symbols in dependency order.

Orders namespace names based on their dependencies using topological sort.
Namespaces are ordered so that dependencies come before their dependents.

Arguments:
- namespaces-graph: dependency graph from analyze-system-sources
- namespace-names: collection of namespace symbols to order

Returns a sequence of namespace symbols in dependency order.
raw docstring

roomclj


room-implclj

(room-impl)

set-loadtime!clj

(set-loadtime! msecs)

Sets the system loadtime to the specified timestamp in milliseconds. Returns the updated state map.

Sets the system loadtime to the specified timestamp in milliseconds.
Returns the updated state map.
raw docstring

set-loadtime-current!clj

(set-loadtime-current!)

Sets the system loadtime to the current time. Returns the updated state map.

Sets the system loadtime to the current time.
Returns the updated state map.
raw docstring

state-atomclj

(state-atom)

Returns the internal state atom containing the system load state. The state atom contains at least {:loadtime <timestamp-in-msecs>}.

Returns the internal state atom containing the system load state.
The state atom contains at least {:loadtime <timestamp-in-msecs>}.
raw docstring

synchclj

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close