Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get and compare object with previous version

Hi,

I have use case, when I need to subscribe to object changes. Object has an int field. I need to execute logic in subscriber (Notify Listener Container) only in case if (previous version of the object had value = 0 and current value > 0) OR (previous value >0 and current value = 0). But in notify containers and polling containers I didn't find a way - how I can take previous version of the object.

Is it possible to cover this use case? Because I need to handle this situation in Near Real Time.