ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atri Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-917) Add org.apache.ignite.cluster.ClusterGroup.forHost(String host, String... hosts) overload
Date Tue, 02 Jun 2015 11:35:17 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568978#comment-14568978
] 

Atri Sharma commented on IGNITE-917:
------------------------------------

Thanks for inputs.

Are you referring to {forAttribute} implementation in {ClusterGroupAdapter} class?

Also, I am a bit confused about {ClusterGroupAdapter#nodes} methods. If I understand correctly
that returns the set of ClusterNodes, and then we can build a predicate on top of that set
which filters based on input hostnames, then pass it to forPredicate. However, do we plan
to implement {forHosts} in {ClusterGroupAdapter}, since {ClusterGroup} is only an interface?

> Add org.apache.ignite.cluster.ClusterGroup.forHost(String host, String... hosts) overload
> -----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-917
>                 URL: https://issues.apache.org/jira/browse/IGNITE-917
>             Project: Ignite
>          Issue Type: Task
>          Components: newbie
>            Reporter: Yakov Zhdanov
>            Assignee: Atri Sharma
>
> Method should build a cluster group from all nodes running on the hosts specified.
> This should be dynamic group. I think method implementation should build up a predicate
to check that passed in node's host names contain one of the host names from parameters.
> See IgnitePredicate, ClusterGroup, ClusterNode, ClusterNode#hostNames



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

Mime
View raw message