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

Ignite cache configuration enhancements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • sprint-3
    • cache
    • None

    Description

      I would like to propose additional way to configure dynamic caches, with support for wild cards.

      For example, I should be able to select default config settings for all caches, with names starting from org.mycaches.*. Then, when creating a cache, I can omit passing the configuration, and call:

          IgniteCache<A, B> cache = ignite.getOrCreateCache("org.mycaches.Persons");
      

      In this case, Ignite will find the closest configuration name, that matches the cache name, and use it.

      Note, that our existing cache configuration API can already support this design:

      • If CacheConfiguration has no name, then it becomes the default template for all caches.
      • If CacheConfiguration has a name with a wild-card, then it becomes a template configuration.
      • Otherwise, we should use exact name matching.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsetrakyan Dmitriy Setrakyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: