Bug 4458 - PartitionPlan interface should only have getters
PartitionPlan interface should only have getters
Product: jbatch
Classification: Unclassified
Component: source
PC Linux
: P5 normal
: ---
Assigned To: cvignola
Depends on:
  Show dependency treegraph
Reported: 2012-12-23 20:48 UTC by geofjamg
Modified: 2013-01-16 15:23 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description geofjamg 2012-12-23 20:48:22 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.
Comment 1 cvignola 2013-01-02 19:46:19 UTC
The PartitionPlan is defined either declaratively (in job XML) or programmatically via a PartitionMapper.   The setter methods are necessary for the latter.