org.jgroups.protocols
Class MERGE2.FindSubgroupsTask

java.lang.Object
  extended by org.jgroups.protocols.MERGE2.FindSubgroupsTask
Enclosing class:
MERGE2

protected class MERGE2.FindSubgroupsTask
extends java.lang.Object

Task periodically executing (if role is coordinator). Gets the initial membership and determines whether there are subgroups (multiple coordinators for the same group). If yes, it sends a MERGE event with the list of the coordinators up the stack


Constructor Summary
protected MERGE2.FindSubgroupsTask()
           
 
Method Summary
protected  void _findAndNotify()
           
protected  long computeInterval()
          Returns a random value within [min_interval - max_interval]
protected  java.util.List<PingData> findAllViews()
          Returns a list of PingData with only the view from members around the cluster
 void findAndNotify()
           
 java.util.Map<Address,View> getViews(java.util.List<PingData> initial_mbrs)
           
 boolean isRunning()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MERGE2.FindSubgroupsTask

protected MERGE2.FindSubgroupsTask()
Method Detail

start

public void start()

stop

public void stop()

isRunning

public boolean isRunning()

findAndNotify

public void findAndNotify()

_findAndNotify

protected void _findAndNotify()

computeInterval

protected long computeInterval()
Returns a random value within [min_interval - max_interval]


findAllViews

protected java.util.List<PingData> findAllViews()
Returns a list of PingData with only the view from members around the cluster


getViews

public java.util.Map<Address,View> getViews(java.util.List<PingData> initial_mbrs)


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.