[infinispan-dev] [JBoss JIRA] (ISPN-1562) Alternative needed for Cache.getConfiguration()
Galder Zamarreño
galder at redhat.com
Fri Nov 25 09:28:00 EST 2011
There's also: getCacheConfiguration() if we wanna stay with getters at this level…
I like configuration() but as long as we're consistent throughtout the code, and that's not gonna be the case cos it'd mean changing all get* in cache and cache manager...
On Nov 24, 2011, at 12:41 PM, Manik Surtani wrote:
> 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
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list