com.ibm.websphere.wpf
Interface PartitionDefinition

All Superinterfaces:
java.lang.Comparable, java.io.Serializable

public interface PartitionDefinition
extends java.io.Serializable, java.lang.Comparable

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


Field Summary
static java.lang.String DEFAULT_CLASSIFICATION
          The default classification name.
 
Method Summary
 java.util.Map getAttributeMap()
          This returns the map of the partition definition.
 java.lang.String getPartitionAlias()
           
 java.lang.String getPartitionClass()
          This is the class of this partition, i.e.
 java.lang.String getPartitionName()
          This is the unique name of the partition.
 PartitionScope getScope()
          This returns the scope of the partition.
 void setPartitionAlias(java.lang.String aliasName)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

DEFAULT_CLASSIFICATION

static final java.lang.String 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.

See Also:
Constant Field Values
Method Detail

getPartitionName

java.lang.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

java.lang.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

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.

Returns:
PartitionScope describing node or cluster scope.
See Also:
PartitionScope

getAttributeMap

java.util.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

void setPartitionAlias(java.lang.String aliasName)

getPartitionAlias

java.lang.String getPartitionAlias()