public class BurstExecutor<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(T workload) |
BurstExecutor<T> |
andStart() |
static <T> BurstExecutor<T> |
create(RunWithArgument<T> worker,
int maxThreads) |
void |
waitForCompletion() |
public void add(T workload)
public void waitForCompletion()
throws InterruptedException
InterruptedExceptionpublic static <T> BurstExecutor<T> create(RunWithArgument<T> worker, int maxThreads)
public BurstExecutor<T> andStart()
Copyright © 2004-2015. All Rights Reserved.