Quantcast
Channel: Gigaspaces XAP forum - RSS feed
Viewing all articles
Browse latest Browse all 1486

SpaceEvictionStrategy callbacks works for one space model only

$
0
0
Hi! I am using LRU mechanism with a custom eviction policy to ensure unpopular objects are evicted in case of memory shortage. The callbacks in SpaceEvictionStrategy(onUpdate, onRemove and onInsert) are only invoked for one of my space models. Meaning, when I save object of class A, Gigaspaces call onInsert and when I save object of class B, nothing. Can I control this behavior? Why are the callbacks only invoked for one model and not the other one? Other than this, both models works completely fine.

Viewing all articles
Browse latest Browse all 1486

Trending Articles