org.jboss.ha.framework.interfaces
Class SubPartitionsInfo
java.lang.Object
org.jboss.ha.framework.interfaces.SubPartitionsInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class SubPartitionsInfo
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
Holder class that knows about a set of HA(sub)Partition currently
building the overall cluster. Exchanged between HASessionState
instances to share the same knowledge.
- See Also:
SubPartitionInfo
(src) ,
HASessionState
(src) ,
HASessionStateImpl
(src) ,
Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
partitions
public SubPartitionInfo (src) [] partitions
groupId
protected long groupId
SubPartitionsInfo
public SubPartitionsInfo()
getNextGroupId
public long getNextGroupId()
- return the next distinct id for a new group
getSubPartitionWithName
public SubPartitionInfo (src) getSubPartitionWithName(java.lang.String name)
- Returns the
SubPartitionInfo
(src) instance in this group that has the given name.
clone
public java.lang.Object clone()
toString
public java.lang.String toString()