-
1. Re: A question on replication
Mircea Markus Dec 13, 2010 10:00 AM (in response to Gerry Smith)You can determine the size of the cluster this way: cache.getAdvancedCache().getRpcManger().getTransport().getMembers() -> this will return the list of the members in the clusters. If this is empty you can safely assume that you're the only member. Would that work for you?
-
2. Re: A question on replication
Gerry Smith Dec 13, 2010 3:15 PM (in response to Mircea Markus)Yes, that'll work great.
Many thanks,
Gerry
-
3. Re: A question on replication
Manik Surtani Dec 14, 2010 6:56 AM (in response to Gerry Smith)Also, re: compatibility problems with the "all" cfg, you may want to have a look at http://community.jboss.org/wiki/InfinispanasHibernate2nd-LevelCacheinJBossAS5x - while this isn't directly related to what you are doing, the author did experience similar compat problems wrt. libraries and dependencies, and he got around them using a specialised class loader. The same technique may work well for you.
Further, the community would probably be very interested in how you got Infinispan working on JBoss AS 4.2.x and the performance improvements you've seen. Would you be interested in contributing a short wiki article or a blog on it?
-
4. Re: A question on replication
Gerry Smith Dec 14, 2010 7:18 AM (in response to Manik Surtani)Hi Manik,
OK thanks for that.
Yes, I'd be happy to,
Gerry
-
5. Re: A question on replication
Manik Surtani Dec 17, 2010 10:20 AM (in response to Gerry Smith)Great. Just create an article on the wiki and ping this thread with it for feedback