org.mule.tck.functional
Class CountdownCallback
java.lang.Object
org.mule.tck.functional.CountdownCallback
- All Implemented Interfaces:
- EventCallback
public class CountdownCallback
- extends Object
- implements EventCallback
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountdownCallback
public CountdownCallback(int messagesExpected)
eventReceived
public void eventReceived(MuleEventContext context,
Object Component)
throws Exception
- Specified by:
eventReceived
in interface EventCallback
- Throws:
Exception
getCount
public long getCount()
throws InitialisationException
- Throws:
InitialisationException
await
public boolean await(long timeout)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.