Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.command.dlo


discard-bytesclj

(discard-bytes bytes id received attempts dlo)

Stores information about a failed command to the dlo (a Path) for later inspection. attempts must be a list of {:time t :exception ex} maps in reverse chronological order. Saves two files named like this: 10291-1469469689_unknown_0_BYTESHASH 10291-1469469689_unknown_0_BYTESHASH.txt The first contains the bytes provided, and the second details the cause of the failure. Returns {:info Path :command Path}.

Stores information about a failed command to the `dlo` (a Path) for
later inspection.  `attempts` must be a list of {:time t :exception
ex} maps in reverse chronological order.  Saves two files named like
this:
  10291-1469469689_unknown_0_BYTESHASH
  10291-1469469689_unknown_0_BYTESHASH.txt
The first contains the bytes provided, and the second details the
cause of the failure.  Returns {:info Path :command Path}.
sourceraw docstring

discard-cmdrefclj

(discard-cmdref cmdref stockpile dlo)

Stores information about the failed stockpile cmdref to the dlo (a Path) for later inspection. Saves two files named like this: 10291-1469469689_cat_4_foo.org.json 10291-1469469689_cat_4_foo.org_err.txt The first contains the failed command itself, and the second details the cause of the failure. The command will be moved from the stockpile queue to the dlo directory (a Path) via stockpile/discard. Returns {:info Path :command Path}.

Stores information about the failed `stockpile` `cmdref` to the
`dlo` (a Path) for later inspection.  Saves two files named like
this:
  10291-1469469689_cat_4_foo.org.json
  10291-1469469689_cat_4_foo.org_err.txt
The first contains the failed command itself, and the second details
the cause of the failure.  The command will be moved from the
`stockpile` queue to the `dlo` directory (a Path) via
stockpile/discard.  Returns {:info Path :command Path}.
sourceraw docstring

initializeclj

(initialize path registry)

Initializes the dead letter office (DLO), at the given path (a Path), creating the directory if it doesn't exist, adds related metrics to the registry, and then returns a representation of the DLO.

Initializes the dead letter office (DLO), at the given path (a Path),
creating the directory if it doesn't exist, adds related metrics to
the registry, and then returns a representation of the DLO.
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