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

Manik Surtani manik at jboss.org
Wed Nov 4 05:20:42 EST 2009


On 4 Nov 2009, at 08:42, Brian Stansberry  
<brian.stansberry at redhat.com> 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.

Yeah thanks Emmanuel! :)

>
>> -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