BatchedExtractionStrategy

constructor(batchSize: Int = 5, executor: ExecutorService)

Use a caller-supplied executor; close will not shut it down.


constructor(batchSize: Int = 5)

Create an internal fixed pool sized to batchSize. The pool is owned by this strategy, so call close (or use it as a resource) when you are done with it.