public interface AsyncEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is invoked when the AsyncEventListener configuration is stopped.
|
void |
init(java.lang.String initParamStr)
The AsyncListener implemented by the user can be initialized via this
method.
|
boolean |
processEvents(java.util.List<Event> events)
Process the list of
Events. |
void |
start()
This is invoked just prior to starting the async invocation thread for processing the events.
|
boolean processEvents(java.util.List<Event> events)
Events. This method will be invoked
asynchronously when events are queued for processing. For
AsyncEventListener, the Event.getOldRow() will always return null
indicating that old value is not available. Event.getNewRow() will
return the column values for a row created. For update operations it will
only return meaningful values for modified columns and null for unmodified
columns. The positions of columns modified can be obtained from
Event.getModifiedColumns()events - The list of Events to processvoid close()
void init(java.lang.String initParamStr)
initParamStr - String containing initialisation parameters for the
AsyncEventListenervoid start()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.