primaryHazelcastInstance.getCluster().getLocalMember().getSocketAddress()

On Tue, Jan 13, 2015 at 1:40 PM, Hemika Kodikara <[email protected]> wrote:

> Hi Azeez,
>
> Yes, HazelcastInstance is there. But it doesn't provide a method to get
> the coordinator node IP address and so.
>
> Thanks,
> Hemika
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +94777688882
>
> On Tue, Jan 13, 2015 at 1:30 PM, Afkham Azeez <[email protected]> wrote:
>
>> Yes, get the HazelcastInstance OSGi service, and then using Hazelcast
>> APIs you should be able to get the required information.
>>
>> Azeez
>>
>> On Tue, Jan 13, 2015 at 1:25 PM, Hemika Kodikara <[email protected]> wrote:
>>
>>> Looping in Azeez, Sameera and Kishanthan.
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +94777688882
>>>
>>> On Tue, Jan 13, 2015 at 12:35 PM, Hemika Kodikara <[email protected]>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have a requirement to show the IP addresses and ports of the nodes in
>>>> a cluster on a UI page. But I also have to indicate which node is the
>>>> coordinator node. Currently I am only able to to find whether the current
>>>> node is the coordinator node or not using the "isCoordinator" method in
>>>> "HazelcastClusteringAgent" class.
>>>>
>>>> Is there way to find the coordinator node's IP address and port of the
>>>> cluster?
>>>>
>>>> Regards,
>>>> Hemika
>>>>
>>>> Hemika Kodikara
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> lean . enterprise . middleware
>>>> http://wso2.com
>>>>
>>>> Mobile : +94777688882
>>>>
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **[email protected]* <[email protected]>
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*
>> <http://twitter.com/afkham_azeez>
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919blog: **http://blog.afkham.org*
<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*
<http://twitter.com/afkham_azeez>
*linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to