public class Top5ErrorsSummaryData extends Object
Constructor and Description |
---|
Top5ErrorsSummaryData() |
Modifier and Type | Method and Description |
---|---|
long |
getErrors() |
Object[][] |
getTop5ErrorsMetrics()
Return Top 5 errors and associated frequency.
|
long |
getTotal() |
void |
incErrors() |
void |
incTotal() |
void |
registerError(String errorMessage)
Stores the provided error message and counts the number of times it is
registered.
|
public void registerError(String errorMessage)
errorMessage
- String error message to registerpublic void incErrors()
public void incTotal()
public long getTotal()
public long getErrors()
public Object[][] getTop5ErrorsMetrics()
Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.