Class DummyAsyncRetryListener
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.listeners.DummyAsyncRetryListener
-
- All Implemented Interfaces:
PostCommitEventListener
public class DummyAsyncRetryListener extends Object implements PostCommitEventListener
-
-
Field Summary
Fields Modifier and Type Field Description protected static AtomicInteger
countHandled
protected static AtomicInteger
countOk
-
Constructor Summary
Constructors Constructor Description DummyAsyncRetryListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clear()
static int
getCountHandled()
static int
getCountOk()
void
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
-
-
-
Field Detail
-
countHandled
protected static AtomicInteger countHandled
-
countOk
protected static AtomicInteger countOk
-
-
Constructor Detail
-
DummyAsyncRetryListener
public DummyAsyncRetryListener()
-
-
Method Detail
-
handleEvent
public void handleEvent(EventBundle events)
Description copied from interface:PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.The events are fired as a
BundleEvent
after the transaction is committed.- Specified by:
handleEvent
in interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-
clear
public static void clear()
-
getCountHandled
public static int getCountHandled()
-
getCountOk
public static int getCountOk()
-
-