Class ExceptionInfo
- java.lang.Object
-
- org.apache.heron.spi.metricsmgr.metrics.ExceptionInfo
-
public class ExceptionInfo extends Object
An immutable class providing a view of ExceptionInfo
-
-
Constructor Summary
Constructors Constructor Description ExceptionInfo(String stackTrace, String lastTime, String firstTime, int count, String logging)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Get number of time exception occurred in the metrics collection intervalStringgetFirstTime()Get first time the exception occurred in the metrics collection intervalStringgetLastTime()Get last time the exception occurred in the metrics collection intervalStringgetLogging()Get additional text logged.StringgetStackTrace()Get stack trace of exception.StringtoString()
-
-
-
Method Detail
-
getStackTrace
public String getStackTrace()
Get stack trace of exception. First two lines of stack trace is used for aggregating exception.- Returns:
- Stack trace of exception
-
getLastTime
public String getLastTime()
Get last time the exception occurred in the metrics collection interval- Returns:
- Last Time the exception occurred
-
getFirstTime
public String getFirstTime()
Get first time the exception occurred in the metrics collection interval- Returns:
- First time the exception occurred
-
getCount
public int getCount()
Get number of time exception occurred in the metrics collection interval- Returns:
- Number of time exception occurred
-
getLogging
public String getLogging()
Get additional text logged.- Returns:
- Additional text logged.
-
-