de.thksystems.util.concurrent.scalingworkerqueue.DefaultConfiguredScalingWorkerQueue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cumin Show documentation
Show all versions of cumin Show documentation
Commons for lang, crypto, xml, dom, text, csv, reflection, annotations, parsing, ...
/*
* tksCommons
*
* Author : Thomas Kuhlmann (ThK-Systems, https://www.thk-systems.de)
* License : LGPL (https://www.gnu.org/licenses/lgpl.html)
*/
package de.thksystems.util.concurrent.scalingworkerqueue;
import java.util.Collection;
import java.util.function.BiConsumer;
import java.util.function.Function;
public class DefaultConfiguredScalingWorkerQueue extends ScalingWorkerQueue {
public DefaultConfiguredScalingWorkerQueue(Function> supplier, BiConsumer worker) {
super(new DefaultWorkerQueueConfiguration(), supplier, worker);
}
}