Re: [infinispan-dev] RemoteCacheManager constructors

2011-12-14 Thread Mircea Markus
That screams for Josh Block's builder pattern[1] :) That would also make more consistent the way we build configs between Embedded and Remote manages. What do you guys think? [1] http://stackoverflow.com/questions/6174419/joshua-blochs-builder-pattern-and-pmd-warnings On 13 Dec 2011, at 22:10,

[infinispan-dev] RemoteCacheManager constructors

2011-12-13 Thread Galder Zamarreño
Hi, OMG, I've just counted 23 constructors in RemoteCacheManager! Do we really need them all? http://docs.jboss.org/infinispan/5.1/apidocs/org/infinispan/client/hotrod/RemoteCacheManager.html Something to cleanup in 6.0… Cheers, -- Galder Zamarreño Sr. Software Engineer Infinispan, JBoss

Re: [infinispan-dev] RemoteCacheManager constructors

2011-12-13 Thread Manik Surtani
I believe a fair few will be removed, yes. On 13 Dec 2011, at 17:17, Galder Zamarreño wrote: Hi, OMG, I've just counted 23 constructors in RemoteCacheManager! Do we really need them all?