Bugzilla – Bug 4458
PartitionPlan interface should only have getters
Last modified: 2013-01-16 15:23:13 UTC
to let the possibility to have a clean immutable implementation of PartitionPlan. The aim of partition plan is to provide the partition count, the thread count and properties per partition to the batch runtime so there is no need to specify setters in the interface.
The PartitionPlan is defined either declaratively (in job XML) or programmatically via a PartitionMapper. The setter methods are necessary for the latter.