Liking cljdoc? Tell your friends :D

jdk.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy

A handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.

A handler for rejected tasks that runs the rejected task
directly in the calling thread of the execute method,
unless the executor has been shut down, in which case the task
is discarded.
raw docstring

->caller-runs-policyclj

(->caller-runs-policy)

Constructor.

Creates a CallerRunsPolicy.

Constructor.

Creates a CallerRunsPolicy.
raw docstring

rejected-executionclj

(rejected-execution this r e)

Executes task r in the caller's thread, unless the executor has been shut down, in which case the task is discarded.

r - the runnable task requested to be executed - java.lang.Runnable e - the executor attempting to execute this task - java.util.concurrent.ThreadPoolExecutor

Executes task r in the caller's thread, unless the executor
 has been shut down, in which case the task is discarded.

r - the runnable task requested to be executed - `java.lang.Runnable`
e - the executor attempting to execute this task - `java.util.concurrent.ThreadPoolExecutor`
raw docstring

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

× close