Retrieves a specified number of Ready-for-Poll events from the application's event store.
Syntax
public abstract Vector fetchEvents(int pollQuantity)
Parameters
Return values
None.
Exceptions
Notes
The fetchEvents() method searches the event store for event records with the READY_FOR_POLL status and puts them in the event. The number of events that fetchEvents() retrieves is specified by pollQuantity, which correlates with the PollQuantity connector configuration property. For each retrieved event, the method must create a CWConnectorEvent event object, put this event object into a Java Vector, and return the Vector. The fetchEvents() method determines the order in which event objects are stored in the eventsToProcess vector.
See also