ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Enhancing dynamic caches
Date Sat, 04 Apr 2015 17:27:14 GMT
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 =

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
- If CacheConfiguration has no name, then it because 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.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message