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

Ask Your Question
0

SpaceEvictionStrategy callbacks works for one space model only

Hi! I am using LRU mechanism with a custom eviction policy to make sure unpopular objects are evicted in case of memory shortage. The callbacks in SpaceEvictionStrategy are only invoked for one of my space models. 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.

asked 2018-05-23 09:00:51 -0500

GS_User gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi, We need more info in order to understand, Does the model that is not evicted is also annotated with spaceClass persist= false? Is that model involve in transactions and kept lock?

Regards, Ester.

answered 2018-05-24 06:30:56 -0500

Ester gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-05-23 09:00:51 -0500

Seen: 108 times

Last updated: May 24