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 long
count
protected ViewCounterMap
countByErrorCode
protected ViewCounterMap
countByErrorMsg
protected long
errorCount
-
Constructor Summary
Constructors Constructor Description ErrorDistribution(int customThreshold, String defaultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementByCode(String code)
void
decrementByMsg(String message)
long
getCount()
ViewCounterMap
getCountByErrorCode()
ViewCounterMap
getCountByErrorMsg()
long
getErrorCount()
void
incrementByCode(String code)
void
incrementByMsg(String message)
void
setCount(long count)
void
setCountByErrorCode(ViewCounterMap countByErrorCode)
void
setCountByErrorMsg(ViewCounterMap countByErrorMsg)
void
setErrorCount(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)
-
-