public class ZDispatcherTest extends Object
Constructor | Description |
---|---|
ZDispatcherTest() |
Modifier and Type | Method | Description |
---|---|---|
void |
dispatcherPerformanceTest() |
|
void |
singleMessage() |
|
void |
testMessagesDispatchedToDifferentHandlersAreExecutedConcurrently() |
|
void |
testNoMessageAreSentAfterShutdown() |
public void singleMessage() throws InterruptedException
InterruptedException
public void testMessagesDispatchedToDifferentHandlersAreExecutedConcurrently() throws InterruptedException, BrokenBarrierException, TimeoutException
public void testNoMessageAreSentAfterShutdown() throws InterruptedException, BrokenBarrierException, TimeoutException
public void dispatcherPerformanceTest() throws InterruptedException
InterruptedException