Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2558

NearCacheConfiguration should not extend MutableConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • cache
    • None
    • Important

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dreamx Maksim Kozlov
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: