Package step.plugins.views.functions
Class ErrorDistribution
- java.lang.Object
 - 
- step.core.accessors.AbstractIdentifiableObject
 - 
- step.plugins.views.ViewModel
 - 
- step.plugins.views.functions.ErrorDistribution
 
 
 
 
- 
public class ErrorDistribution extends ViewModel
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected longcountprotected ViewCounterMapcountByErrorCodeprotected ViewCounterMapcountByErrorMsgprotected longerrorCount 
- 
Constructor Summary
Constructors Constructor Description ErrorDistribution(int customThreshold, String defaultKey) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecrementByCode(String code)voiddecrementByMsg(String message)longgetCount()ViewCounterMapgetCountByErrorCode()ViewCounterMapgetCountByErrorMsg()longgetErrorCount()voidincrementByCode(String code)voidincrementByMsg(String message)voidsetCount(long count)voidsetCountByErrorCode(ViewCounterMap countByErrorCode)voidsetCountByErrorMsg(ViewCounterMap countByErrorMsg)voidsetErrorCount(long errorCount)- 
Methods inherited from class step.plugins.views.ViewModel
getExecutionId, getViewId, setExecutionId, setViewId 
 - 
 
 - 
 
- 
- 
Field Detail
- 
count
protected long count
 
- 
errorCount
protected long errorCount
 
- 
countByErrorCode
protected ViewCounterMap countByErrorCode
 
- 
countByErrorMsg
protected ViewCounterMap countByErrorMsg
 
 - 
 
- 
Constructor Detail
- 
ErrorDistribution
public ErrorDistribution(int customThreshold, String defaultKey) 
 - 
 
- 
Method Detail
- 
getCount
public long getCount()
 
- 
setCount
public void setCount(long count)
 
- 
getErrorCount
public long getErrorCount()
 
- 
setErrorCount
public void setErrorCount(long errorCount)
 
- 
incrementByMsg
public void incrementByMsg(String message)
 
- 
incrementByCode
public void incrementByCode(String code)
 
- 
decrementByMsg
public void decrementByMsg(String message)
 
- 
decrementByCode
public void decrementByCode(String code)
 
- 
getCountByErrorCode
public ViewCounterMap getCountByErrorCode()
 
- 
setCountByErrorCode
public void setCountByErrorCode(ViewCounterMap countByErrorCode)
 
- 
getCountByErrorMsg
public ViewCounterMap getCountByErrorMsg()
 
- 
setCountByErrorMsg
public void setCountByErrorMsg(ViewCounterMap countByErrorMsg)
 
 - 
 
 -