Class Top5ErrorsSummaryData
-
- All Implemented Interfaces:
public class Top5ErrorsSummaryData
Summary data for TOP 5 of errors. Compute a map of Sample / Number of errors
- Since:
3.1
-
-
Constructor Summary
Constructors Constructor Description Top5ErrorsSummaryData()
-
Method Summary
Modifier and Type Method Description long
getTotal()
long
getErrors()
void
registerError(String errorMessage)
Stores the provided error message and counts the number of times it is registered. void
incErrors()
void
incTotal()
Array<Array<Object>>
getTop5ErrorsMetrics()
Return Top 5 errors and associated frequency. -
-
Method Detail
-
getTotal
long getTotal()
-
getErrors
long getErrors()
-
registerError
void registerError(String errorMessage)
Stores the provided error message and counts the number of times it is registered.
- Parameters:
errorMessage
- String error message to register
-
incErrors
void incErrors()
-
incTotal
void incTotal()
-
getTop5ErrorsMetrics
Array<Array<Object>> getTop5ErrorsMetrics()
Return Top 5 errors and associated frequency.
- Returns:
array of [String, Long]
-
-
-
-