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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev