|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ha.framework.interfaces.SubPartitionInfo
public class SubPartitionInfo
Holder class that knows about a particular HA(sub)Partition i.e. member nodes, partition name and some utility functions.
HASessionState,
HASessionStateImpl,
Serialized Form| Field Summary | |
|---|---|
ArrayList |
memberNodeNames
List of nodes part of this sub-partition |
HashSet |
subPartitionMergedNames
When sub-partitions are merged, some names will disappear (eg. |
String |
subPartitionName
Name of the current sub-partition (will be used to create a JGroups group) |
| Constructor Summary | |
|---|---|
SubPartitionInfo()
|
|
SubPartitionInfo(String partitionName,
String[] members)
|
|
| Method Summary | |
|---|---|
boolean |
actsForSubPartition(String subPartitionName)
|
Object |
clone()
|
int |
compareTo(Object o)
"Note: this class has a natural ordering that is inconsistent with equals." |
boolean |
containsNode(String node)
|
void |
merge(SubPartitionInfo merged)
|
void |
setIsNewGroup()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String subPartitionName
public HashSet subPartitionMergedNames
public ArrayList memberNodeNames
| Constructor Detail |
|---|
public SubPartitionInfo()
public SubPartitionInfo(String partitionName,
String[] members)
| Method Detail |
|---|
public void setIsNewGroup()
public void merge(SubPartitionInfo merged)
public String toString()
toString in class Objectpublic boolean actsForSubPartition(String subPartitionName)
public boolean containsNode(String node)
public int compareTo(Object o)
compareTo in interface Comparablepublic Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||