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

Ask Your Question

readMultiple, LRU and external data source

If I have a space that reads from external data source and uses LRU, will readMultiple have to always check the external data source?



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

asked 2008-03-27 11:10:29 -0500

noiseba gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted


answered 2008-03-27 12:19:16 -0500

noiseba gravatar image
edit flag offensive delete link more

That depends on the number of matches in the space.

If the readMultiple finds enough matches to satisfy the maxEntries argument (readMultiple(Entry template,Transaction txn, int maxEntries)) then it would not go to data source.

You should avoid using Integer.MAX_VALUES as maxEntries in such cases.


Edited by: Guy Sayar on Mar 27, 2008 12:26 PM

answered 2008-03-27 11:26:25 -0500

guy sayar 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


Asked: 2008-03-27 11:10:29 -0500

Seen: 55 times

Last updated: Aug 08 '13