Bug 4395

Summary: PartitionPlan interface should match JSL attributes
Product: jbatch Reporter: kmukher
Component: sourceAssignee: cvignola
Status: CLOSED FIXED    
Severity: minor CC: issues
Priority: P5    
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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. 

<partition>
   <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.