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

Brian Stansberry brian.stansberry at redhat.com
Wed Nov 4 03:41:53 EST 2009


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





More information about the infinispan-dev mailing list