Package org.zeromq
Class ZDispatcherTest
- java.lang.Object
-
- org.zeromq.ZDispatcherTest
-
public class ZDispatcherTest extends Object
-
-
Constructor Summary
Constructors Constructor Description ZDispatcherTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatcherPerformanceTest()
void
singleMessage()
void
testMessagesDispatchedToDifferentHandlersAreExecutedConcurrently()
void
testNoMessageAreSentAfterShutdown()
-
-
-
Method Detail
-
singleMessage
public void singleMessage() throws InterruptedException
- Throws:
InterruptedException
-
testMessagesDispatchedToDifferentHandlersAreExecutedConcurrently
public void testMessagesDispatchedToDifferentHandlersAreExecutedConcurrently() throws InterruptedException, BrokenBarrierException, TimeoutException
-
testNoMessageAreSentAfterShutdown
public void testNoMessageAreSentAfterShutdown() throws InterruptedException, BrokenBarrierException, TimeoutException
-
dispatcherPerformanceTest
public void dispatcherPerformanceTest() throws InterruptedException
- Throws:
InterruptedException
-
-