Liking cljdoc? Tell your friends :D

hadoop-util.transfer

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.
raw docstring

check-inclj

(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.
sourceraw docstring

copycljmultimethod

source

file-typeclj

(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.
sourceraw docstring

rcopyclj

(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.
sourceraw docstring

sleep-intervalclj

(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.
sourceraw docstring

throttleclj

(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.
sourceraw docstring

try-timescljmacro

(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.
sourceraw docstring

try-times*clj

(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.
sourceraw docstring

update-limitclj

(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).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close