org.jboss.ha.framework.interfaces
Class SubPartitionsInfo
java.lang.Object
org.jboss.ha.framework.interfaces.SubPartitionsInfo
- All Implemented Interfaces:
- Serializable, Cloneable
public class SubPartitionsInfo
- extends Object
- implements Serializable, 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.
- Version:
- $Revision: 1.3.6.1 $
- Author:
- Sacha Labourey
- See Also:
SubPartitionInfo
,
HASessionState
,
HASessionStateImpl
,
Serialized Form
partitions
public SubPartitionInfo[] partitions
groupId
protected long groupId
SubPartitionsInfo
public SubPartitionsInfo()
getNextGroupId
public long getNextGroupId()
- return the next distinct id for a new group
getSubPartitionWithName
public SubPartitionInfo getSubPartitionWithName(String name)
- Returns the
SubPartitionInfo
instance in this group that has the given name.
clone
public Object clone()
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.