Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » interfaces » [javadoc | source]
org.jboss.ha.framework.interfaces
public class: SubPartitionInfo [javadoc | source]
java.lang.Object
   org.jboss.ha.framework.interfaces.SubPartitionInfo

All Implemented Interfaces:
    Cloneable, Serializable, Comparable

Holder class that knows about a particular HA(sub)Partition i.e. member nodes, partition name and some utility functions.
Field Summary
public  String subPartitionName    Name of the current sub-partition (will be used to create a JGroups group) 
public  HashSet subPartitionMergedNames    When sub-partitions are merged, some names will disappear (eg. Merge G1 and G2 in G1) this structure remembers the removed named so that HAPartition can know which new group they should join 
public  ArrayList memberNodeNames    List of nodes part of this sub-partition 
Constructor:
 public SubPartitionInfo() 
 public SubPartitionInfo(String partitionName,
    String[] members) 
Method from org.jboss.ha.framework.interfaces.SubPartitionInfo Summary:
actsForSubPartition,   clone,   compareTo,   containsNode,   merge,   setIsNewGroup,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.framework.interfaces.SubPartitionInfo Detail:
 public boolean actsForSubPartition(String subPartitionName) 
 public Object clone() 
 public int compareTo(Object o) 
    "Note: this class has a natural ordering that is inconsistent with equals."
 public boolean containsNode(String node) 
 public  void merge(SubPartitionInfo merged) 
 public  void setIsNewGroup() 
 public String toString()