(code-id-validation-error-msg code-id)Inputs: [code-id :- schema/Str]
Inputs: [code-id :- schema/Str]
Validates that code-id contains only alpha-numerics and '-', '_', ';', or ':'.
Validates that code-id contains only alpha-numerics and '-', '_', ';', or ':'.
Schema for environment names. Alphanumeric and _ only.
Schema for environment names. Alphanumeric and _ only.
(environment-validation-error-msg environment)Inputs: [environment :- schema/Str]
Inputs: [environment :- schema/Str]
(extract-file-names-from-paths paths-to-files)Given a sequence of java.nio.file.Path objects, return a lazy sequence of the file names of the file represented by those paths. Example ['/foo/bar/baz.tmp'] will result in ['baz.tmp']
Given a sequence of java.nio.file.Path objects, return a lazy sequence of the file names of the file represented by those paths. Example ['/foo/bar/baz.tmp'] will result in ['baz.tmp']
(record-action action)Inputs: [action :- action-shape]
Inputs: [action :- action-shape]
(remove-suffix-from-file-names files suffix)Given a suffix, and a sequence of file-names, remove the suffix from the filenames
Given a suffix, and a sequence of file-names, remove the suffix from the filenames
(with-safe-lock reentrant-lock descriptor timeout-in-seconds & body)Given a ReentrantLock, acquire the lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
Given a ReentrantLock, acquire the lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
(with-safe-read-lock read-write-lock descriptor timeout-in-seconds & body)Given a ReentrantReadWriteLock, acquire the read lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
Given a ReentrantReadWriteLock, acquire the read lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
(with-safe-write-lock read-write-lock descriptor timeout-in-seconds & body)Given a ReentrantReadWriteLock, acquire the write lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
Given a ReentrantReadWriteLock, acquire the write lock, and hold it for the length of the execution of the body. If the lock can't be acquired, throw an exception to indicate a timeout. Log behaviors at trace level to aid with supportability
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |