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

Ask Your Question
0

Write an existing object without modifying lease

Is it possible to write new values to an existing object (same internal id) without resetting the lease? If you try to write without specifiying a lease value, GigaSpaces appears to reset the lease to 'forever'.

Found the answer. For an existing object space.write(obj) resets the lease space.write(obj, 0) retains the existing value

Edited by: Paul Denby on Jan 24, 2012 10:55 AM

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3814]{quote}

asked 2012-01-23 09:39:51 -0500

pauldenby gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Try using PARTIAL_UPDATE modifier.

answered 2012-02-15 08:30:23 -0500

venkatg 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: 2012-01-23 09:39:51 -0500

Seen: 45 times

Last updated: Feb 15 '12