public class CountdownCallback extends Object implements EventCallback
| Constructor and Description |
|---|
CountdownCallback(int messagesExpected) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout) |
void |
eventReceived(MuleEventContext context,
Object Component) |
long |
getCount() |
public void eventReceived(MuleEventContext context, Object Component) throws Exception
eventReceived in interface EventCallbackExceptionpublic long getCount()
throws InitialisationException
InitialisationExceptionpublic boolean await(long timeout)
throws InterruptedException
InterruptedExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.