1 <!DOCTYPE html
><html class=
"default" lang=
"en"><head><meta charset=
"utf-8"/><meta http-equiv=
"x-ua-compatible" content=
"IE=edge"/><title>WorkerChoiceStrategiesContext | poolifier - v4.2
.11</title><meta name=
"description" content=
"Documentation for poolifier"/><meta name=
"viewport" content=
"width=device-width, initial-scale=1"/><link rel=
"stylesheet" href=
"../assets/style.css"/><link rel=
"stylesheet" href=
"../assets/highlight.css"/><script defer
src=
"../assets/main.js"></script><script async
src=
"../assets/icons.js" id=
"tsd-icons-script"></script><script async
src=
"../assets/search.js" id=
"tsd-search-script"></script><script async
src=
"../assets/navigation.js" id=
"tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem(
"tsd-theme") ||
"os";document.body.style.
display=
"none";setTimeout(() =
> app?app.showPage():document.body.style.removeProperty(
"display"),
500)
</script><header class=
"tsd-page-toolbar"><div class=
"tsd-toolbar-contents container"><div class=
"table-cell" id=
"tsd-search" data-base=
".."><div class=
"field"><label for=
"tsd-search-field" class=
"tsd-widget tsd-toolbar-icon search no-caption"><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><use href=
"../assets/icons.svg#icon-search"></use></svg></label><input type=
"text" id=
"tsd-search-field" aria-label=
"Search"/></div><div class=
"field"><div id=
"tsd-toolbar-links"></div></div><ul class=
"results"><li class=
"state loading">Preparing search index...
</li><li class=
"state failure">The search index is not available
</li></ul><a href=
"../index.html" class=
"title">poolifier - v4.2
.11</a></div><div class=
"table-cell" id=
"tsd-widgets"><a href=
"#" class=
"tsd-widget tsd-toolbar-icon menu no-caption" data-toggle=
"menu" aria-label=
"Menu"><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><use href=
"../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class=
"container container-main"><div class=
"col-content"><div class=
"tsd-page-title"><ul class=
"tsd-breadcrumb"><li><a href=
"../index.html">poolifier
</a></li><li><a href=
"WorkerChoiceStrategiesContext.html">WorkerChoiceStrategiesContext
</a></li></ul><h1>Class WorkerChoiceStrategiesContext
<Worker, Data, Response
><code class=
"tsd-tag">Internal
</code></h1></div><section class=
"tsd-panel tsd-comment"><div class=
"tsd-comment tsd-typography"><p>The worker choice strategies context.
</p>
2 </div><div class=
"tsd-comment tsd-typography"></div></section> <section class=
"tsd-panel"><h4>Type Parameters
</h4><ul class=
"tsd-type-parameter-list"><li><span><a id=
"Worker" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Worker
</span><span class=
"tsd-signature-keyword"> extends
</span><a href=
"../interfaces/IWorker.html" class=
"tsd-signature-type tsd-kind-interface">IWorker
</a></span><div class=
"tsd-comment tsd-typography"><p>Type of worker.
</p>
3 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><a id=
"Data" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Data
</span> =
<span class=
"tsd-signature-type">unknown
</span></span><div class=
"tsd-comment tsd-typography"><p>Type of data sent to the worker. This can only be structured-cloneable data.
</p>
4 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><a id=
"Response" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Response
</span> =
<span class=
"tsd-signature-type">unknown
</span></span><div class=
"tsd-comment tsd-typography"><p>Type of execution response. This can only be structured-cloneable data.
</p>
5 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></section> <aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L26">src/pools/selection-strategies/worker-choice-strategies-context.ts:
26</a></li></ul></aside><section class=
"tsd-panel-group tsd-index-group"><section class=
"tsd-panel tsd-index-panel"><details class=
"tsd-index-content tsd-accordion" open
><summary class=
"tsd-accordion-summary tsd-index-summary"><h5 class=
"tsd-index-heading uppercase" role=
"button" aria-expanded=
"false" tabIndex=
"0"><svg width=
"16" height=
"16" viewBox=
"0 0 16 16" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronSmall"></use></svg> Index
</h5></summary><div class=
"tsd-accordion-details"><section class=
"tsd-index-section"><h3 class=
"tsd-index-heading">Constructors
</h3><div class=
"tsd-index-list"><a href=
"WorkerChoiceStrategiesContext.html#constructor" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-512"></use></svg><span>constructor
</span></a>
6 </div></section><section class=
"tsd-index-section"><h3 class=
"tsd-index-heading">Properties
</h3><div class=
"tsd-index-list"><a href=
"WorkerChoiceStrategiesContext.html#retriesCount" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-1024"></use></svg><span>retries
<wbr/>Count
</span></a>
7 </div></section><section class=
"tsd-index-section"><h3 class=
"tsd-index-heading">Methods
</h3><div class=
"tsd-index-list"><a href=
"WorkerChoiceStrategiesContext.html#execute" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>execute
</span></a>
8 <a href=
"WorkerChoiceStrategiesContext.html#getPolicy" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>get
<wbr/>Policy
</span></a>
9 <a href=
"WorkerChoiceStrategiesContext.html#getTaskStatisticsRequirements" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>get
<wbr/>Task
<wbr/>Statistics
<wbr/>Requirements
</span></a>
10 <a href=
"WorkerChoiceStrategiesContext.html#remove" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>remove
</span></a>
11 <a href=
"WorkerChoiceStrategiesContext.html#setDefaultWorkerChoiceStrategy" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>set
<wbr/>Default
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span></a>
12 <a href=
"WorkerChoiceStrategiesContext.html#setOptions" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>set
<wbr/>Options
</span></a>
13 <a href=
"WorkerChoiceStrategiesContext.html#syncWorkerChoiceStrategies" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>sync
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategies
</span></a>
14 <a href=
"WorkerChoiceStrategiesContext.html#update" class=
"tsd-index-link"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>update
</span></a>
15 </div></section></div></details></section></section><details class=
"tsd-panel-group tsd-member-group tsd-accordion" open
><summary class=
"tsd-accordion-summary" data-key=
"section-Constructors"><h2><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg> Constructors
</h2></summary><section><section class=
"tsd-panel tsd-member"><a id=
"constructor" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>constructor
</span><a href=
"#constructor" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"constructor.new_WorkerChoiceStrategiesContext" class=
"tsd-anchor"></a><span class=
"tsd-kind-constructor-signature">new
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategies
<wbr/>Context
</span><span class=
"tsd-signature-symbol"><</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Worker-1">Worker
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Data-1">Data
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Response-1">Response
</a><span class=
"tsd-signature-symbol">></span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">pool
</span>,
<span class=
"tsd-kind-parameter">workerChoiceStrategies
</span><span class=
"tsd-signature-symbol">?
</span>,
<span class=
"tsd-kind-parameter">opts
</span><span class=
"tsd-signature-symbol">?
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><a href=
"WorkerChoiceStrategiesContext.html" class=
"tsd-signature-type tsd-kind-class">WorkerChoiceStrategiesContext
</a><span class=
"tsd-signature-symbol"><</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Worker-1">Worker
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Data-1">Data
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Response-1">Response
</a><span class=
"tsd-signature-symbol">></span><a href=
"#constructor.new_WorkerChoiceStrategiesContext" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Worker choice strategies context constructor.
</p>
16 </div><section class=
"tsd-panel"><h4>Type Parameters
</h4><ul class=
"tsd-type-parameter-list"><li><span><a id=
"constructor.new_WorkerChoiceStrategiesContext.Worker-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Worker
</span><span class=
"tsd-signature-keyword"> extends
</span><a href=
"../interfaces/IWorker.html" class=
"tsd-signature-type tsd-kind-interface">IWorker
</a></span></li><li><span><a id=
"constructor.new_WorkerChoiceStrategiesContext.Data-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Data
</span> =
<span class=
"tsd-signature-type">unknown
</span></span></li><li><span><a id=
"constructor.new_WorkerChoiceStrategiesContext.Response-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-type-parameter">Response
</span> =
<span class=
"tsd-signature-type">unknown
</span></span></li></ul></section><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">pool
</span>:
<a href=
"../interfaces/IPool.html" class=
"tsd-signature-type tsd-kind-interface">IPool
</a><span class=
"tsd-signature-symbol"><</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Worker-1">Worker
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Data-1">Data
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Response-1">Response
</a><span class=
"tsd-signature-symbol">></span></span><div class=
"tsd-comment tsd-typography"><p>The pool instance.
</p>
17 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><span class=
"tsd-kind-parameter">workerChoiceStrategies
</span>:
<span class=
"tsd-signature-symbol">(
</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"INTERLEAVED_WEIGHTED_ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_BUSY
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_ELU
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_USED
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">[]
</span><span class=
"tsd-signature-symbol"> = ...
</span></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategies.
</p>
18 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><code class=
"tsd-tag">Optional
</code><span class=
"tsd-kind-parameter">opts
</span>:
<a href=
"../interfaces/WorkerChoiceStrategyOptions.html" class=
"tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions
</a></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategy options.
</p>
19 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<a href=
"WorkerChoiceStrategiesContext.html" class=
"tsd-signature-type tsd-kind-class">WorkerChoiceStrategiesContext
</a><span class=
"tsd-signature-symbol"><</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Worker-1">Worker
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Data-1">Data
</a><span class=
"tsd-signature-symbol">,
</span><a class=
"tsd-signature-type tsd-kind-type-parameter" href=
"WorkerChoiceStrategiesContext.html#constructor.new_WorkerChoiceStrategiesContext.Response-1">Response
</a><span class=
"tsd-signature-symbol">></span></h4><div class=
"tsd-comment tsd-typography"><h4 class=
"tsd-anchor-link"><a id=
"Default Value" class=
"tsd-anchor"></a>Default Value
<a href=
"#Default Value" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class=
"ts"><span class=
"hl-2">[
</span><span class=
"hl-0">WorkerChoiceStrategies
</span><span class=
"hl-2">.
</span><span class=
"hl-3">ROUND_ROBIN
</span><span class=
"hl-2">]
</span>
20 </code><button type=
"button">Copy
</button></pre>
22 </div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L70">src/pools/selection-strategies/worker-choice-strategies-context.ts:
70</a></li></ul></aside></li></ul></section></section></details><details class=
"tsd-panel-group tsd-member-group tsd-accordion" open
><summary class=
"tsd-accordion-summary" data-key=
"section-Properties"><h2><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg> Properties
</h2></summary><section><section class=
"tsd-panel tsd-member"><a id=
"retriesCount" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>retries
<wbr/>Count
</span><a href=
"#retriesCount" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class=
"tsd-signature"><span class=
"tsd-kind-property">retries
<wbr/>Count
</span><span class=
"tsd-signature-symbol">:
</span> <span class=
"tsd-signature-type">number
</span></div><div class=
"tsd-comment tsd-typography"><p>The number of worker choice strategies execution retries.
</p>
23 </div><div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L62">src/pools/selection-strategies/worker-choice-strategies-context.ts:
62</a></li></ul></aside></section></section></details><details class=
"tsd-panel-group tsd-member-group tsd-accordion" open
><summary class=
"tsd-accordion-summary" data-key=
"section-Methods"><h2><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg> Methods
</h2></summary><section><section class=
"tsd-panel tsd-member"><a id=
"execute" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>execute
</span><a href=
"#execute" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"execute.execute-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">execute
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">workerChoiceStrategy
</span><span class=
"tsd-signature-symbol">?
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">number
</span><a href=
"#execute.execute-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Executes the given worker choice strategy in the context algorithm.
</p>
24 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">workerChoiceStrategy
</span>:
<br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"INTERLEAVED_WEIGHTED_ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_BUSY
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_ELU
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_USED
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol"> = ...
</span></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategy algorithm to execute.
</p>
25 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">number
</span></h4><p>The key of the worker node.
</p>
26 <div class=
"tsd-comment tsd-typography"><h4 class=
"tsd-anchor-link"><a id=
"Default Value-1" class=
"tsd-anchor"></a>Default Value
<a href=
"#Default Value-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class=
"ts"><span class=
"hl-1">this
</span><span class=
"hl-2">.
</span><span class=
"hl-0">defaultWorkerChoiceStrategy
</span>
27 </code><button type=
"button">Copy
</button></pre>
29 <h4 class=
"tsd-anchor-link"><a id=
"Throws" class=
"tsd-anchor"></a>Throws
<a href=
"#Throws" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href=
"https://nodejs.org/api/errors.html#class-error">https://nodejs.org/api/errors.html#class-error
</a> If after computed retries the worker node key is null or undefined.
</p>
30 </div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L169">src/pools/selection-strategies/worker-choice-strategies-context.ts:
169</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"getPolicy" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>get
<wbr/>Policy
</span><a href=
"#getPolicy" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"getPolicy.getPolicy-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">get
<wbr/>Policy
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><a href=
"../interfaces/StrategyPolicy.html" class=
"tsd-signature-type tsd-kind-interface">StrategyPolicy
</a><a href=
"#getPolicy.getPolicy-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Gets the active worker choice strategies in the context policy.
</p>
31 </div><h4 class=
"tsd-returns-title">Returns
<a href=
"../interfaces/StrategyPolicy.html" class=
"tsd-signature-type tsd-kind-interface">StrategyPolicy
</a></h4><p>The strategies policy.
</p>
32 <div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L183">src/pools/selection-strategies/worker-choice-strategies-context.ts:
183</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"getTaskStatisticsRequirements" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>get
<wbr/>Task
<wbr/>Statistics
<wbr/>Requirements
</span><a href=
"#getTaskStatisticsRequirements" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"getTaskStatisticsRequirements.getTaskStatisticsRequirements-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">get
<wbr/>Task
<wbr/>Statistics
<wbr/>Requirements
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><a href=
"../interfaces/TaskStatisticsRequirements.html" class=
"tsd-signature-type tsd-kind-interface">TaskStatisticsRequirements
</a><a href=
"#getTaskStatisticsRequirements.getTaskStatisticsRequirements-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Gets the active worker choice strategies in the context task statistics requirements.
</p>
33 </div><h4 class=
"tsd-returns-title">Returns
<a href=
"../interfaces/TaskStatisticsRequirements.html" class=
"tsd-signature-type tsd-kind-interface">TaskStatisticsRequirements
</a></h4><p>The strategies task statistics requirements.
</p>
34 <div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L191">src/pools/selection-strategies/worker-choice-strategies-context.ts:
191</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"remove" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>remove
</span><a href=
"#remove" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"remove.remove-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">remove
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">workerNodeKey
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">boolean
</span><a href=
"#remove.remove-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Removes the worker node key from the active worker choice strategies in the context.
</p>
35 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">workerNodeKey
</span>:
<span class=
"tsd-signature-type">number
</span></span><div class=
"tsd-comment tsd-typography"><p>The worker node key.
</p>
36 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">boolean
</span></h4><p><code>true
</code> if the removal is successful,
<code>false
</code> otherwise.
</p>
37 <div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L200">src/pools/selection-strategies/worker-choice-strategies-context.ts:
200</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"setDefaultWorkerChoiceStrategy" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>set
<wbr/>Default
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span><a href=
"#setDefaultWorkerChoiceStrategy" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"setDefaultWorkerChoiceStrategy.setDefaultWorkerChoiceStrategy-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">set
<wbr/>Default
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">workerChoiceStrategy
</span>,
<span class=
"tsd-kind-parameter">opts
</span><span class=
"tsd-signature-symbol">?
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">void
</span><a href=
"#setDefaultWorkerChoiceStrategy.setDefaultWorkerChoiceStrategy-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Sets the default worker choice strategy to use in the context.
</p>
38 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">workerChoiceStrategy
</span>:
<br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"INTERLEAVED_WEIGHTED_ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_BUSY
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_ELU
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_USED
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span></span><div class=
"tsd-comment tsd-typography"><p>The default worker choice strategy to set.
</p>
39 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><code class=
"tsd-tag">Optional
</code><span class=
"tsd-kind-parameter">opts
</span>:
<a href=
"../interfaces/WorkerChoiceStrategyOptions.html" class=
"tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions
</a></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategy options.
</p>
40 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">void
</span></h4><div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L212">src/pools/selection-strategies/worker-choice-strategies-context.ts:
212</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"setOptions" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>set
<wbr/>Options
</span><a href=
"#setOptions" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"setOptions.setOptions-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">set
<wbr/>Options
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">opts
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">void
</span><a href=
"#setOptions.setOptions-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Sets the active worker choice strategies in the context options.
</p>
41 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">opts
</span>:
<span class=
"tsd-signature-type">undefined
</span><span class=
"tsd-signature-symbol"> |
</span><a href=
"../interfaces/WorkerChoiceStrategyOptions.html" class=
"tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions
</a></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategy options.
</p>
42 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">void
</span></h4><div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L226">src/pools/selection-strategies/worker-choice-strategies-context.ts:
226</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"syncWorkerChoiceStrategies" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>sync
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategies
</span><a href=
"#syncWorkerChoiceStrategies" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"syncWorkerChoiceStrategies.syncWorkerChoiceStrategies-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">sync
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategies
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">workerChoiceStrategies
</span>,
<span class=
"tsd-kind-parameter">opts
</span><span class=
"tsd-signature-symbol">?
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">void
</span><a href=
"#syncWorkerChoiceStrategies.syncWorkerChoiceStrategies-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Synchronizes the active worker choice strategies in the context with the given worker choice strategies.
</p>
43 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">workerChoiceStrategies
</span>:
<span class=
"tsd-signature-type">Set
</span><span class=
"tsd-signature-symbol"><</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"FAIR_SHARE
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"INTERLEAVED_WEIGHTED_ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_BUSY
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_ELU
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"LEAST_USED
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"ROUND_ROBIN
"</span><br/><span> </span><span class=
"tsd-signature-symbol">|
</span><span class=
"tsd-signature-type">"WEIGHTED_ROUND_ROBIN
"</span><span class=
"tsd-signature-symbol">></span></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategies to synchronize.
</p>
44 </div><div class=
"tsd-comment tsd-typography"></div></li><li><span><code class=
"tsd-tag">Optional
</code><span class=
"tsd-kind-parameter">opts
</span>:
<a href=
"../interfaces/WorkerChoiceStrategyOptions.html" class=
"tsd-signature-type tsd-kind-interface">WorkerChoiceStrategyOptions
</a></span><div class=
"tsd-comment tsd-typography"><p>The worker choice strategy options.
</p>
45 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">void
</span></h4><div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L237">src/pools/selection-strategies/worker-choice-strategies-context.ts:
237</a></li></ul></aside></li></ul></section><section class=
"tsd-panel tsd-member"><a id=
"update" class=
"tsd-anchor"></a><h3 class=
"tsd-anchor-link"><span>update
</span><a href=
"#update" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class=
"tsd-signatures"><li class=
"tsd-signature tsd-anchor-link"><a id=
"update.update-1" class=
"tsd-anchor"></a><span class=
"tsd-kind-call-signature">update
</span><span class=
"tsd-signature-symbol">(
</span><span class=
"tsd-kind-parameter">workerNodeKey
</span><span class=
"tsd-signature-symbol">)
</span><span class=
"tsd-signature-symbol">:
</span><span class=
"tsd-signature-type">boolean
</span><a href=
"#update.update-1" aria-label=
"Permalink" class=
"tsd-anchor-icon"><svg viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-anchor"></use></svg></a></li><li class=
"tsd-description"><div class=
"tsd-comment tsd-typography"><p>Updates the worker node key in the active worker choice strategies in the context internals.
</p>
46 </div><div class=
"tsd-parameters"><h4 class=
"tsd-parameters-title">Parameters
</h4><ul class=
"tsd-parameter-list"><li><span><span class=
"tsd-kind-parameter">workerNodeKey
</span>:
<span class=
"tsd-signature-type">number
</span></span><div class=
"tsd-comment tsd-typography"><p>The worker node key.
</p>
47 </div><div class=
"tsd-comment tsd-typography"></div></li></ul></div><h4 class=
"tsd-returns-title">Returns
<span class=
"tsd-signature-type">boolean
</span></h4><p><code>true
</code> if the update is successful,
<code>false
</code> otherwise.
</p>
48 <div class=
"tsd-comment tsd-typography"></div><aside class=
"tsd-sources"><ul><li>Defined in
<a href=
"https://github.com/poolifier/poolifier/blob/029726d0946eabcfd10d2ae5e3ab06e61241ab79/src/pools/selection-strategies/worker-choice-strategies-context.ts#L265">src/pools/selection-strategies/worker-choice-strategies-context.ts:
265</a></li></ul></aside></li></ul></section></section></details></div><div class=
"col-sidebar"><div class=
"page-menu"><div class=
"tsd-navigation settings"><details class=
"tsd-accordion"><summary class=
"tsd-accordion-summary"><h3><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg>Settings
</h3></summary><div class=
"tsd-accordion-details"><div class=
"tsd-filter-visibility"><span class=
"settings-label">Member Visibility
</span><ul id=
"tsd-filter-options"><li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-protected" name=
"protected"/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>Protected
</span></label></li><li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-inherited" name=
"inherited" checked
/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>Inherited
</span></label></li><li class=
"tsd-filter-item"><label class=
"tsd-filter-input"><input type=
"checkbox" id=
"tsd-filter-external" name=
"external"/><svg width=
"32" height=
"32" viewBox=
"0 0 32 32" aria-hidden=
"true"><rect class=
"tsd-checkbox-background" width=
"30" height=
"30" x=
"1" y=
"1" rx=
"6" fill=
"none"></rect><path class=
"tsd-checkbox-checkmark" d=
"M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke=
"none" stroke-width=
"3.5" stroke-linejoin=
"round" fill=
"none"></path></svg><span>External
</span></label></li></ul></div><div class=
"tsd-theme-toggle"><label class=
"settings-label" for=
"tsd-theme">Theme
</label><select id=
"tsd-theme"><option value=
"os">OS
</option><option value=
"light">Light
</option><option value=
"dark">Dark
</option></select></div></div></details></div><details open
class=
"tsd-accordion tsd-page-navigation"><summary class=
"tsd-accordion-summary"><h3><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg>On This Page
</h3></summary><div class=
"tsd-accordion-details"><details open
class=
"tsd-accordion tsd-page-navigation-section"><summary class=
"tsd-accordion-summary" data-key=
"tsd-otp-Constructors"><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg>Constructors
</summary><div><a href=
"#constructor" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-512"></use></svg><span>constructor
</span></a></div></details><details open
class=
"tsd-accordion tsd-page-navigation-section"><summary class=
"tsd-accordion-summary" data-key=
"tsd-otp-Properties"><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg>Properties
</summary><div><a href=
"#retriesCount" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-1024"></use></svg><span>retries
<wbr/>Count
</span></a></div></details><details open
class=
"tsd-accordion tsd-page-navigation-section"><summary class=
"tsd-accordion-summary" data-key=
"tsd-otp-Methods"><svg width=
"20" height=
"20" viewBox=
"0 0 24 24" fill=
"none"><use href=
"../assets/icons.svg#icon-chevronDown"></use></svg>Methods
</summary><div><a href=
"#execute" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>execute
</span></a><a href=
"#getPolicy" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>get
<wbr/>Policy
</span></a><a href=
"#getTaskStatisticsRequirements" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>get
<wbr/>Task
<wbr/>Statistics
<wbr/>Requirements
</span></a><a href=
"#remove" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>remove
</span></a><a href=
"#setDefaultWorkerChoiceStrategy" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>set
<wbr/>Default
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategy
</span></a><a href=
"#setOptions" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>set
<wbr/>Options
</span></a><a href=
"#syncWorkerChoiceStrategies" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>sync
<wbr/>Worker
<wbr/>Choice
<wbr/>Strategies
</span></a><a href=
"#update" class=
""><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-2048"></use></svg><span>update
</span></a></div></details></div></details></div><div class=
"site-menu"><nav class=
"tsd-navigation"><a href=
"../index.html"><svg class=
"tsd-kind-icon" viewBox=
"0 0 24 24"><use href=
"../assets/icons.svg#icon-1"></use></svg><span>poolifier - v4.2
.11</span></a><ul class=
"tsd-small-nested-navigation" id=
"tsd-nav-container" data-base=
".."><li>Loading...
</li></ul></nav></div></div></div><footer><p class=
"tsd-generator">Generated using
<a href=
"https://typedoc.org/" target=
"_blank">TypeDoc
</a></p></footer><div class=
"overlay"></div></body></html>