processEvents
public boolean processEvents(List<AsyncEvent> events)
Process the list of AsyncEvent
s. This method will asynchronously be called when
events are queued to be processed. The size of the list will be up to batch size events where
batch size is defined in the AsyncEventQueueFactory
.
- Specified by:
processEvents
in interface AsyncEventListener
- Parameters:
events
- The list of AsyncEvent
to process
- Returns:
- boolean True represents whether the events were successfully processed, false
otherwise.