[infinispan-dev] [JBoss JIRA] (ISPN-1562) Alternative needed for Cache.getConfiguration()

Manik Surtani manik at jboss.org
Thu Nov 24 06:41:41 EST 2011


Well yes, but I can't think of anything better.  :)

On 24 Nov 2011, at 10:05, Pete Muir wrote:

> Nice idea. Any objections?
> 
> On 24 Nov 2011, at 09:55, Tristan Tarrant wrote:
> 
>> On 11/24/2011 10:53 AM, Pete Muir wrote:
>>> All,
>>> 
>>> Any ideas on the below? Issue is that the sane name for this method is getConfiguration() but this name is already taken. Options I see are:
>>> 
>>> 1) Use another name (ugh)
>> What about a pseudo-fluent Cache.configuration() ? You can then add 
>> @Deprecated to the existing Cache.getConfiguration() for one cycle and 
>> then swap as you say below.
>>> 2) Swap the return types with no deprecation stage (ugh)
>>> 
>>> Any better ideas?
>>> 
>>> 
>> Tristan
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> 
> _______________________________________________
> 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






More information about the infinispan-dev mailing list