ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsetrakyan <dsetrak...@apache.org>
Subject Re: About peer class loading
Date Thu, 28 May 2015 03:40:54 GMT
If you enable peer class loading, you can use either SHARED or CONTINUOUS
deployment modes in cache. In either mode Ignite will automatically deploy
your classes without having to copy jars into the lib folder. 

In SHARED mode, once Ignite detects that all client nodes have left, it will
clear up all the caches. This mode is useful during the development.

In CONTINUOUS mode Ignite will not clear caches once the clients have left,
but in this case it is up to the user to ensure that class definitions don't
change throughout the life time of the cluster.

Unfortunately, both of these modes will require you to restart the cluster
if you change your data classes. The reason for that is that Ignite does not
allow to have classes from different class loaders residing in the same
cache.

D.



-----
D.
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/About-peer-class-loading-tp416p421.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message