IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.websphere.wpf
PartitionDefinition

All Implemented Interfaces
Serializable, Comparable


PartitionDefinition represents a partition. The PartitionDefinition consists of a partition name and a classification name which can be defaulted.

Field Summary
public  StringDEFAULT_CLASSIFICATION
           The default classification name. If the classification setting is not.

Method Summary
public  StringgetPartitionName()
           This is the unique name of the partition. It's not allowed to have two partitions.
public  StringgetPartitionClass()
           This is the class of this partition, i.e. tier 1, tier 2 etc. This can be.
public  PartitionScopegetScope()
           This returns the scope of the partition. The options are either node or cluster.
public  MapgetAttributeMap()
           This returns the map of the partition definition. When creating an HA Group.
public  voidsetPartitionAlias(java.lang.String)
          
public  StringgetPartitionAlias()
          

Inherited Methods

Methods inherited from java.lang.Comparable
compareTo

Field Detail

DEFAULT_CLASSIFICATION

public 
  static DEFAULT_CLASSIFICATION
The default classification name. If the classification setting is not set, this will be the default used. In the default case, administrators will often manage each partition in the same manner. Adminstrators can manage partitions of the same category, but in a different class as a group.

Method Detail

getPartitionName

public String getPartitionName()
This is the unique name of the partition. It's not allowed to have two partitions with the same name even if they have different classes. For this release, the partition name must be unique within the cluster.


Returns:
     The string representing the partition name.


getPartitionClass

public String getPartitionClass()
This is the class of this partition, i.e. tier 1, tier 2 etc. This can be used to construct specific HAManager policies for all partitions of a given class.


Returns:
     The string representing the partition classification.


getScope

public PartitionScope getScope()
This returns the scope of the partition. The options are either node or cluster scope.

Cluster scoped partitions are those active on one and one only one cluster member within the cluster.

Node scoped clusters allow the same partition to be active on multiple nodes in the cluster. Each cluster member has only one active instance of the partition.
See Also:

    PartitionScope


Returns:
     PartitionScope describing node or cluster scope.


getAttributeMap

public Map getAttributeMap()
This returns the map of the partition definition. When creating an HA Group the user can create a set of attributes, which are useful in policy management. Map keys and values can only be Strings.


Returns:
     Map of Strings


setPartitionAlias

public void setPartitionAlias(String aliasName)
Parameters:


getPartitionAlias

public String getPartitionAlias()


IBM WebSphere Extended Deployment (XD)TM
Release 6.0