[infinispan-dev] RemoteCacheManager constructors

Mircea Markus mircea.markus at jboss.com
Wed Dec 14 13:05:22 EST 2011


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, Manik Surtani wrote:

> 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?????
>> 
>> 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 Cache
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
> 
> Lead, Infinispan
> http://www.infinispan.org
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20111214/f3a6f33a/attachment.html 


More information about the infinispan-dev mailing list