Class BurstExecutor<T>
- java.lang.Object
-
- org.jenkinsci.plugins.lucene.search.databackend.BurstExecutor<T>
-
public class BurstExecutor<T> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T workload)
BurstExecutor<T>
andStart()
static <T> BurstExecutor<T>
create(RunWithArgument<T> worker, int maxThreads)
void
waitForCompletion()
-
-
-
Method Detail
-
add
public void add(T workload)
-
waitForCompletion
public void waitForCompletion() throws InterruptedException
- Throws:
InterruptedException
-
create
public static <T> BurstExecutor<T> create(RunWithArgument<T> worker, int maxThreads)
-
andStart
public BurstExecutor<T> andStart()
-
-