On 21 Apr 2011, at 21:02, Olaf Bergner wrote:
Am 20.04.11 00:35, schrieb Mircea Markus:
> On 19 Apr 2011, at 18:17, Olaf Bergner wrote:
>
>> Am 19.04.11 16:59, schrieb Mircea Markus:
>> I personally favor a separate dedicated interface, e.g. StreamingCache
>> as has been suggested, and maybe a method getStreamingCache() on Cache.
> yes, that would do it indeed. Just not sure about the name: as long as you have Cache
in it users might expect to extend the Cache interface. StreamingHandler perhaps?
Yes, I like that. This name suggests that the object returned will
handle streams on behalf of the cache returning it. And this is
precisely what StreamingHandler does. Barring any opposition I will go on to
* move existing logic to StreamingHandlerImpl and
* add and implement Cache.getStreamingHandler()
OK?
Sounds good!
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org