onItemLostUpdates method
Event handler that is called by Lightstreamer to notify that, due to internal resource limitations, Lightstreamer Server dropped one or more updates for an item in the Subscription.
Such notifications are sent only if the items are delivered in an unfiltered mode; this occurs if the subscription mode is:
- RAW
- MERGE or DISTINCT, with unfiltered dispatching specified
- COMMAND, with unfiltered dispatching specified
- COMMAND, without unfiltered dispatching specified (in this case, notifications apply to ADD and DELETE events only)
-
itemName
name of the involved item. If the Subscription was initialized using an "Item Group" then a null value is supplied. -
itemPos
1-based position of the item within the "Item List" or "Item Group". -
lostUpdates
The number of consecutive updates dropped for the item.
Implementation
void onItemLostUpdates(String itemName, int itemPos, int lostUpdates) {}