Namespace responsible for recursively transferring directories from a distributed filestore (or another local filestore) to the local filesystem on the current machine.
Namespace responsible for recursively transferring directories from a distributed filestore (or another local filestore) to the local filesystem on the current machine.
(check-in throttle-agent kbs)
Report the current downloaded number of kilobytes to the supplied agent.
Report the current downloaded number of kilobytes to the supplied agent.
(file-type fs path)
Accepts a hadoop filesystem object and some path and returns a namespace-qualified type keyword.
Accepts a hadoop filesystem object and some path and returns a namespace-qualified type keyword.
(rcopy remote-fs remote-path target-path & {:keys [throttle]})
Copies information at the supplied remote-path over to the supplied local-path.
Arguments are Filesystem, remote shard path, target local path, and an optional throttling agent.
Copies information at the supplied remote-path over to the supplied local-path. Arguments are Filesystem, remote shard path, target local path, and an optional throttling agent.
(sleep-interval throttle-agent)
Returns the current sleep interval specified by the supplied throttling agent.
Returns the current sleep interval specified by the supplied throttling agent.
(throttle kb-per-second)
Returns a throttling agent. Any positive kb-per-second rate will cause throttling; if the rate is zero or negative, downloads will proceed without a throttle.
Returns a throttling agent. Any positive kb-per-second rate will cause throttling; if the rate is zero or negative, downloads will proceed without a throttle.
(try-times [n] & body)
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.
Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.
(try-times* n thunk)
Executes thunk. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.
Executes thunk. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.
(update-limit throttle-agent new-limit)
Updates the throttling agent's rate limit (in kb/s).
Updates the throttling agent's rate limit (in kb/s).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close