| Constructor and Description |
|---|
ThreadSafeTester(int concurrencies) |
ThreadSafeTester(int concurrencies,
int threadsInPool) |
ThreadSafeTester(int concurrencies,
int threadsInPool,
boolean awaitAll) |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
void |
await(long timeout,
TimeUnit unit) |
protected void |
countDown() |
protected abstract Runnable |
newTask() |
ThreadSafeTester |
run() |
public ThreadSafeTester(int concurrencies)
public ThreadSafeTester(int concurrencies,
int threadsInPool)
public ThreadSafeTester(int concurrencies,
int threadsInPool,
boolean awaitAll)
protected abstract Runnable newTask()
public ThreadSafeTester run()
protected void countDown()
public void await()
throws UncheckedInterruptedException
UncheckedInterruptedExceptionpublic void await(long timeout,
TimeUnit unit)
throws UncheckedInterruptedException
UncheckedInterruptedExceptionCopyright © 2017. All rights reserved.