Bug 4395 - PartitionPlan interface should match JSL attributes
PartitionPlan interface should match JSL attributes
Product: jbatch
Classification: Unclassified
Component: source
All All
: P5 minor
: ---
Assigned To: cvignola
Depends on:
  Show dependency treegraph
Reported: 2012-12-05 22:09 UTC by kmukher
Modified: 2013-01-16 16:35 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 kmukher 2012-12-05 22:09:33 UTC
The PartitionPlan interface method names should match the attribute names for a PartitionPlan JSL element for consistency. 

   <plan instances="3" threads="2"/> ...

public void setPartitionCount(int count) ;

public void setThreadCount(int count) ;

public int getPartitionCount() ;

public int getThreadCount() ;

We can change the getters and setters to get/setInstances() and get/setThreads() or change the JSL attribute names to partitionCount and threadCount. Either way, they should match up.
Comment 1 cvignola 2012-12-20 16:45:00 UTC
Will change method names.