You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/11/17 10:09:58 UTC
[jira] [Updated] (IGNITE-2558) NearCacheConfiguration should not
extend MutableConfiguration
[ https://issues.apache.org/jira/browse/IGNITE-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-2558:
------------------------------------
Fix Version/s: (was: 1.8)
2.0
> NearCacheConfiguration should not extend MutableConfiguration
> -------------------------------------------------------------
>
> Key: IGNITE-2558
> URL: https://issues.apache.org/jira/browse/IGNITE-2558
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Reporter: Valentin Kulichenko
> Fix For: 2.0
>
>
> Currently {{NearCacheConfiguration}} extends {{MutableConfiguration}} which means that it inherits all the properties that don't make sense for it. Also it's possible to use it to create a cache with {{CacheManager}}, which is also confusing.
> {{NearCacheConfiguration}} should not extend and classes and should be used only directly in {{CacheConfiguration.setNearConfiguration()}} or {{Ignite.createCache()}} and similar methods.
> In addition, it would be useful to add {{setCopyOnRead}} property for near cache. Now it's not possible to control this behavior for near cache only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)