public class ZDispatcherTest extends Object
Constructor and Description |
---|
ZDispatcherTest() |
Modifier and Type | Method and 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