public class CounterCallback extends Object implements EventCallback
| Constructor and Description |
|---|
CounterCallback() |
CounterCallback(AtomicInteger callbackCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(MuleEventContext context,
Object Component,
MuleContext muleContext) |
int |
getCallbackCount() |
protected int |
incCallbackCount()
Increment callback count.
|
public CounterCallback()
public CounterCallback(AtomicInteger callbackCount)
public void eventReceived(MuleEventContext context, Object Component, MuleContext muleContext) throws Exception
eventReceived in interface EventCallbackExceptionprotected int incCallbackCount()
public int getCallbackCount()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.