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,
MuleContext muleContext) |
long |
getCount() |
public void eventReceived(MuleEventContext context, Object Component, MuleContext muleContext) throws Exception
eventReceived in interface EventCallbackExceptionpublic long getCount()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic boolean await(long timeout)
throws InterruptedException
InterruptedExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.