Liking cljdoc? Tell your friends :D

kafka-clj.pool.util

Pool utility functions and data types

Pool utility functions and data types
raw docstring

assert-timeout!clj

(assert-timeout! timeout-ms start-ts)

When timeout-ms have passed since start-ts a TimeoutException is thrown

When timeout-ms have passed since start-ts a TimeoutException is thrown
raw docstring

call-safelyclj

(call-safely f & args)

close-scheduled-exec-service!clj

(close-scheduled-exec-service! exec-service)

Close and shutdown the executor service

Close and shutdown the executor service
raw docstring

create-pool-objclj

(create-pool-obj v)

nowclj

(now)

pool-obj-idle-timeout?clj

(pool-obj-idle-timeout? v timeout-ms)

True if (diff curr-time (.ts v)) > timeout-ms

True if (diff curr-time (.ts v)) > timeout-ms
raw docstring

pool-obj-ttl-timeout?clj

(pool-obj-ttl-timeout? v timeout-ms)

True if (diff curr-time (.gen-ts v)) > timeout-ms

True if (diff curr-time (.gen-ts v)) > timeout-ms
raw docstring

scheduleclj

(schedule exec-service check-freq-ms f)

Scheduled the function f at a fixed rate at check-freq-ms

Scheduled the function f at a fixed rate at check-freq-ms
raw docstring

scheduled-exec-serviceclj

(scheduled-exec-service n)

Create a single threaded exec service that creates daemon threads with name n

Create a single threaded exec service that creates daemon threads with name n
raw docstring

timeout?clj

(timeout? timeout-ms start-ts)

True if the diff between now and start-ts is more than timeout-ms

True if the diff between now and start-ts is more than timeout-ms
raw docstring

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

× close