hi,
i am using JbossCache in local mode for keeping user state objects.
i would like that after a predefined interval, the objects will be evicted. when that happens i would like that the objects run some resource cleaning operations (involving http communication).
can that be acomplished? i dont see that i can receive events for objects being evicted. only node eviction. is there a way to get from a node eviction to it's evicted objects?
regards,
Only nodes get evicted. The evict operation is on the node level, not the object level.
What you could do is to write a listener to listen for eviction events and perform your tasks there.