ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2558) NearCacheConfiguration should not extend MutableConfiguration
Date Fri, 05 Feb 2016 01:10:39 GMT
Valentin Kulichenko created IGNITE-2558:

             Summary: 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: 1.6

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

View raw message