Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Partitioning facility framework programming model


Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.


PartitionDefinition

Applications create PartitionDefinition instances to describe a partition to the partition runtime. PartitionDefinition instances can only be created using the factory methods of the provided PartitionManager interface.


PartitionDefinition#getPartitionName

This method returns the name of the partition definition. The method signature is:

String getPartitionName() The partition name must be unique through the entire cluster. The application writer must ensure their partition names are unique for this version of the partitioning facility (WPF).


PartitionDefinition#getPartitionClass

This method returns the class name of the partition definition. The method signature is:

String getPartitionClass()


PartitionDefinition#getScope

This method returns the partition scope of the partition definition. The method signature is:

PartitionScope getPartitionScope() The scope will either be cluster or node scoped, see PartitionScope for more information.


PartitionDefinition#getAttributeMap

This returns the attribute map of the partition definition if provided when partition definition was created (this is optional). 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. The method signature is:

Map getPartitionMap() The default is an empty map with no entries.


PartitionDefinition#setPartitionAlias

This method is reserved for future use in the WPF Framework. The method signature is:

void setPartitionAlias(String aliasName)


PartitionDefinition#getPartitionAlias

This method is reserved for future use in the WPF Framework. The method signature is:

String getPartitionAlias()


Parent topic:

Partitioning facility framework programming model


Related concepts

Partitioning facility framework programming model