[infinispan-dev] Making confusion between different remove() APIs

Emmanuel Bernard emmanuel at hibernate.org
Wed Nov 4 06:35:12 EST 2009


I spend almost a year on a 20 interfaces API, so I learned a few  
tricks :)

On 4 nov. 09, at 09:41, Brian Stansberry wrote:

>
> On Nov 4, 2009, at 4:35 PM, Krzysztof Sobolewski wrote:
>
>> Dnia wtorek 03 listopad 2009 o 17:37:53 Manik Surtani napisał(a):
>>>> Another option is to use a fluent API
>>>> blah.usingContext().flags(FOO,BAR).remove();
>>>
>>> Hmm, that's a possibility. Maybe  
>>> cache.withFlags(FOO,BAR).remove(key)
>>> where withFlags() returns a Cache.
>>>
>>> Wdyt, guys?
>>
>> Yeah, I like it too :)
>
> Yeah, me too.
>
> Emanuel, we needed you when we came up with the JBC InvocationContext
> API! ;) This does much the same thing but in a much more
> understandable way.
>
>> -KS
>>
>> _______________________________________________
>> 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





More information about the infinispan-dev mailing list