Re: [jgroups-dev] Problem in removing a node from a group at runtime

Bela Ban <[email protected]> Thu, 24 Apr 2014 12:36:22 +0200
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>

On 24/04/14 11:08, kingcraft wrote:
> Hi, presumed there were already 3 nodes in the cluster.
>
> Is there any method to let one node join/quit the cluster graciously at
> runtime(without restart)?


JChannel.disconnect()/close() for leaving and JChannel.join() for 
joining. These methods are also exposed via JMX, so jconsole can be used 
as well.


> --
> View this message in context: http://jgroups.1086181.n5.nabble.com/Problem-in-removing-a-node-from-a-group-at-runtime-tp10158.html

-- 
Bela Ban, JGroups lead (http://www.jgroups.org)

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Javagroups-development mailing list