NearCacheConfiguration extends MutableConfiguration

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NearCacheConfiguration extends MutableConfiguration

Valentin Kulichenko
Folks,

I just noticed that NearCacheConfiguration class extends JCache's
MutableConfiguration. This means that it inherits properties like
writeThrough, readThrough, etc., which doesn't look right to me.

Was it done on purpose? Does anyone know the reason?

-Val
Reply | Threaded
Open this post in threaded view
|

Re: NearCacheConfiguration extends MutableConfiguration

yzhdanov
These properties do not make sense for near cache. I doubt if this has been
done on purpose.
What if we extend Configuration? Will it break anything?

--Yakov

2015-12-08 6:06 GMT+03:00 Valentin Kulichenko <[hidden email]
>:

> Folks,
>
> I just noticed that NearCacheConfiguration class extends JCache's
> MutableConfiguration. This means that it inherits properties like
> writeThrough, readThrough, etc., which doesn't look right to me.
>
> Was it done on purpose? Does anyone know the reason?
>
> -Val
>
Reply | Threaded
Open this post in threaded view
|

Re: NearCacheConfiguration extends MutableConfiguration

dsetrakyan
Are there any other properties from MutableConfiguration that
NearCacheConfiguration requires?

On Tue, Dec 8, 2015 at 3:47 AM, Yakov Zhdanov <[hidden email]> wrote:

> These properties do not make sense for near cache. I doubt if this has been
> done on purpose.
> What if we extend Configuration? Will it break anything?
>
> --Yakov
>
> 2015-12-08 6:06 GMT+03:00 Valentin Kulichenko <
> [hidden email]
> >:
>
> > Folks,
> >
> > I just noticed that NearCacheConfiguration class extends JCache's
> > MutableConfiguration. This means that it inherits properties like
> > writeThrough, readThrough, etc., which doesn't look right to me.
> >
> > Was it done on purpose? Does anyone know the reason?
> >
> > -Val
> >
>