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

Ask Your Question
0

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?

Thanks,

Simon

{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 -0600

noiseba gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

Thanks.

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

noiseba gravatar image
edit flag offensive delete link more
0

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.

-Guy

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

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

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

Stats

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

Seen: 43 times

Last updated: Aug 08 '13