How can we get the 3.6 < preload > element used?

Coherence 3.6 adds a new item * < preload > * the configuration of the local system. 3.6 developer guide documents this element as follows:

+ "Indicates whether or not a cache will preload the data of its object CacheLoader (or dumps).» Valid values are true and false. Default value is false. » +

I couldn't find no other mention of this element in the documentation.

Can anyone describe how this configuration element is intended to be used?

Phil

Hi Phil,

Yes, you are right - it's IterableCacheLoader, not store, sorry about that.

I'm not sure of the config element, but I'm sure I've seen documentation on the LocalCache.preload () method before, and this element has been around for a while (doc'ed or not - I guess it was a well-kept secret ;-))

Part of the reason may be that it sounds like it will allow you to pre load your caches (this is what I thought the first time I saw him, until I dug deeper into the code and discovered what he does). Problem is that you can use for autonomous local caches, and even in this case, the way that he don't preload is not quite optimal for a typical scenario of loading data in an RDBMS.

That said, it might be useful in some situations (to load small sets of reference on each node read-only data, for example), so without a doubt, I agree that it should be better documented. I hope that someone on the team of doc follows this thread ;-)

See you soon,.
ALEKS

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for