Hi, Peer class loading works only for compute closures and tasks as described here <https://apacheignite.readme.io/docs/zero-deployment>. it's not applicable for configuration classes or cache entries, so you have to copy that classes to all nodes.
Kind regards, Alex. On Fri, Aug 11, 2017 at 3:49 PM, daniels [via Apache Ignite Users] < [email protected]> wrote: > I use the caching of ignite with cacheLoaderFactories. And I met the > perrClassLoading problem. > I want not to copy that classes to all nodes. > Now i want not to use cacheLoaderFactories.What methods will you offer to > replace them so that there doesn't come the problem of peerclasLoading? > > My cache creation looks like this > > ignite.getOrCreateCache((CacheConfiguration<K, V>) new > CacheConfiguration<>( > cacheConfiguration).setName(cacheName) > .setCacheLoaderFactory(factory) > .setReadThrough(true) > .setExpiryPolicyFactory(EternalExpiryPolicy.factoryOf())) > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example- > using-cacheLoaders-tp16136.html > To start a new topic under Apache Ignite Users, email > [email protected] > To unsubscribe from Apache Ignite Users, click here > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=> > . > NAML > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example-using-cacheLoaders-tp16136p16137.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
