|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.tck.functional.CounterCallback
public class CounterCallback
A test callback that counts the number of messages received.
Constructor Summary | |
---|---|
CounterCallback()
|
|
CounterCallback(edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger callbackCount)
|
Method Summary | |
---|---|
void |
eventReceived(MuleEventContext context,
java.lang.Object Component)
|
int |
getCallbackCount()
|
protected int |
incCallbackCount()
Increment callback count. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CounterCallback()
public CounterCallback(edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger callbackCount)
Method Detail |
---|
public void eventReceived(MuleEventContext context, java.lang.Object Component) throws java.lang.Exception
eventReceived
in interface EventCallback
java.lang.Exception
protected int incCallbackCount()
public int getCallbackCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |