You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2015/02/01 05:33:34 UTC

[jira] [Created] (IGNITE-158) Add methods that create cluster groups for client or data only cache nodes

Valentin Kulichenko created IGNITE-158:
------------------------------------------

             Summary: Add methods that create cluster groups for client or data only cache nodes
                 Key: IGNITE-158
                 URL: https://issues.apache.org/jira/browse/IGNITE-158
             Project: Ignite
          Issue Type: Improvement
          Components: cache
    Affects Versions: sprint-1
            Reporter: Valentin Kulichenko
            Priority: Critical
             Fix For: sprint-1


Existing {{forCache(String cacheName, @Nullable String... cacheNames)}} method return cluster group with all nodes with provided caches. Need to add methods that will also depend on distribution mode:

* {{forDataNodes(cacheName, @Nullable String... cacheNames)}} - returns only nodes with {{PARTITIONED_ONLY}} or {{NEAR_PARTITIONED}} modes
* {{forClientNodes(cacheName, @Nullable String... cacheNames)}} - returns only nodes with {{CLIENT_ONLY}} or {{NEAR_NEAR}} modes
* {{forCacheNodes(cacheName, @Nullable String... cacheNames)}} - similar to current {{forCache(String cacheName, @Nullable String... cacheNames)}} method



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)