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

Ask Your Question
0

Loading objects with lease in LRU

Hi,

I'm running GS (XAP 10.2) in LRU mode. When space is full, GS starts evicting objects and they are brought back from database when read again by the application. The question I have is it possible to make GS load these objects back into the heap with a lease, so that they expire in a few mins and not wait for eviction to clean them up?

Thanks

asked 2018-11-06 11:22:24 -0600

myth gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

You have the option of setting a default write lease on a GigaSpace bean, which will apply the lease timeout to all write operations using the proxy.

See: https://docs.gigaspaces.com/xap/12.3/... and https://resources.gigaspaces.com/api/...

answered 2018-11-27 08:57:54 -0600

Dixson Huie 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

1 follower

Stats

Asked: 2018-11-06 11:22:24 -0600

Seen: 162 times

Last updated: Nov 27