ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: CacheConfiguration chaining
Date Tue, 30 Jun 2015 09:09:38 GMT
On Tue, Jun 30, 2015 at 2:06 AM, Nikolay Tikhonov <ntikhonov@gridgain.com>
wrote:

> For arguments is not required to use specific type now and if we change
> setters a compatibility on compilation level with previous versions might
> be broken in methods *setEvictionFilter(..), setCacheStoreFactory(..) and
> setInterceptor(..)*.
>

I don't think adding generics will break compatibility (unlike removing).
Also, in order to proper pass cache configuration into the cache create
methods, we need to fix the generics in chaining.

D.


>
> On Tue, Jun 30, 2015 at 12:26 AM, Dmitriy Setrakyan <dsetrakyan@apache.org
> >
> wrote:
>
> > Igniters,
> >
> > I just noticed that we have added chaining for CacheConfiguration,
> however,
> > it seems that we did not propagate the generics.
> >
> > CacheConfigruration is declared with <K, V>, but the returned
> > CacheConfiguration instance from any of the setter methods looses
> Generics
> > information.
> >
> > Was this done on purpose or by mistake?
> >
> > D.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message