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

Tristan Tarrant ttarrant at redhat.com
Thu Nov 24 04:55:33 EST 2011


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


More information about the infinispan-dev mailing list