You have to restart the ActorSystem (or JVM)

tis 5 juli 2016 kl. 12:51 skrev Madabhattula Rajesh Kumar <
mrajaf...@gmail.com>:

> Thank you Patrik for the details. I am using isOlderThan method. It is
> working.
>
> I have an another query :-
>
>    - How to restart the cluster? Do we have a API for that?
>
> Regards,
> Rajesh
>
>
>
>
> On Monday, July 4, 2016 at 12:08:38 PM UTC+5:30, Patrik Nordwall wrote:
>
>> Normally you would use the ClusterSingletonProxy, but if you want to
>> subscribe to the membership events and sort them you can use
>> Member. ageOrdering
>> <https://github.com/akka/akka/blob/master/akka-cluster/src/main/scala/akka/cluster/Member.scala#L130>
>>  or
>> isOlderThan
>> <https://github.com/akka/akka/blob/master/akka-cluster/src/main/scala/akka/cluster/Member.scala#L46>
>> .
>>
>> /Patrik
>>
> On Sat, Jul 2, 2016 at 8:20 PM, Madabhattula Rajesh Kumar <
>> mraj...@gmail.com> wrote:
>>
> Hi,
>>>
>>> In  akka cluster singleton how to find "Oldest" node details.
>>>
>>> Regards,
>>> Rajesh
>>>
>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>
>>
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> Patrik Nordwall
>> Akka Tech Lead
>> Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
>> Twitter: @patriknw
>>
>> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to