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.
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).String getPartitionClass()
PartitionScope getPartitionScope()
The scope will either be cluster or node scoped, see PartitionScope for more information.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.void setPartitionAlias(String aliasName)
String getPartitionAlias()