Module com.blackhillsoftware.json
Package com.blackhillsoftware.json.cics
Class CicsTransactionGroup
java.lang.Object
com.blackhillsoftware.json.cics.CicsTransactionGroup
Summarize CICS data from a group of transactions.
 This class can be used as the value in a Map where the 
 key is a field or combination of fields used to group the data.
 
  
Usage
- Create a 
CicsTransactionGroupFactoryand set any configuration options required e.g.CicsTransactionGroupFactory.exclude(MonitoringField). The configuration will be used for allCicsTransactionGroupscreated using the factory. - For each group of transactions, use the factory to create a new 
  CicsTransactionGroup: 
  
CicsTransactionGroupFactory.createGroup(). addrecords to the summary.- The resulting 
CicsTransactionGroupscan be converted to a JSON summary of the group data using a Gson object from EasySmfGsonBuilder. 
  For more detail see Package Info
  
  
CicsTransactionGroup is thread safe so transactions can be added to the group from multiple threads.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidadd(PerformanceRecord performanceRecord) Add transaction data to the group.intgetCount()Get the count of entries in the groupList<com.blackhillsoftware.json.internal.CicsSummaryEntry>Get the summary of the CICS fields (for use by JSON generator) 
- 
Method Details
- 
add
Add transaction data to the group.- Parameters:
 performanceRecord- The CICS performance record to add to the group
 - 
getSummary
Get the summary of the CICS fields (for use by JSON generator)- Returns:
 - the summary for the group
 
 - 
getCount
public int getCount()Get the count of entries in the group- Returns:
 - the count
 
 
 -