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

Pete Muir pmuir at redhat.com
Thu Nov 24 05:05:55 EST 2011


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




More information about the infinispan-dev mailing list