AbstractExprEvaluatorPool

constructor(size: Int, resetEvery: Int)

Parameters

size

the number of evaluator instances in the pool; must be positive

resetEvery

how many times an evaluator is returned between resets of its context; 1 resets on every return

Type Parameters

T

the concrete type of AbstractExprEvaluator managed by this pool


constructor(size: Int)

Creates a pool that resets each evaluator's context every time it is returned.

Parameters

size

the number of evaluator instances in the pool; must be positive