|
SQLFire 1.0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsyncEventListener
Interface used for implementing an event handler that is invoked asynchronously. Installed by calling the "CREATE ASYNCEVENTLISTENER" DDL.
| Method Summary | |
|---|---|
void |
close()
This is invoked when the AsyncEventListener configuration is stopped. |
void |
init(String initParamStr)
The AsyncListener implemented by the user can be initialized via this method. |
boolean |
processEvents(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. |
| Method Detail |
|---|
boolean processEvents(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 process
void close()
void init(String initParamStr)
initParamStr - String containing initialisation parameters for the
AsyncEventListenervoid start()
|
SQLFire 1.0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||