Liking cljdoc? Tell your friends :D

jstack-report.render

Pure presentation: ASCII tree drawing for the lock graph, plus the small helpers (color, short-name) shared by report sections. No I/O — everything returns lines/strings that the report namespace prints.

Pure presentation: ASCII tree drawing for the lock graph,
plus the small helpers (`color`, `short-name`) shared by report
sections. No I/O — everything returns lines/strings that the report
namespace prints.
raw docstring

colorclj

(color styles & xs)

Apply a vector of ANSI styles to one or more text fragments. Returns nil when every fragment is nil/empty so that callers can splice without emitting empty escape sequences.

Apply a vector of ANSI styles to one or more text fragments. Returns
nil when every fragment is nil/empty so that callers can splice
without emitting empty escape sequences.
sourceraw docstring

render-graph-nodeclj

(render-graph-node threads-by-tid k m)
source

render-lock-graphclj

(render-lock-graph dump)
(render-lock-graph dump graph)

Render the full transitive lock graph as a flat sequence of lines.

Render the full transitive lock graph as a flat sequence of lines.
sourceraw docstring

render-treeclj

(render-tree key val)
(render-tree render-fn key-comp-f key val)

Render a {key children} tree into a sequence of strings with Unicode box-drawing prefixes. render-fn is called as (render-fn key children) and must return the seq of lines for a node (the first is the label, the rest are continuation lines indented under it).

Render a {key children} tree into a sequence of strings with Unicode
box-drawing prefixes. `render-fn` is called as `(render-fn key
children)` and must return the seq of lines for a node (the first
is the label, the rest are continuation lines indented under it).
sourceraw docstring

short-nameclj

(short-name fqn)

Strip a fully-qualified Java class name down to its last segment.

Strip a fully-qualified Java class name down to its last segment.
sourceraw docstring

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