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 int
getCount()
Get number of time exception occurred in the metrics collection intervalString
getFirstTime()
Get first time the exception occurred in the metrics collection intervalString
getLastTime()
Get last time the exception occurred in the metrics collection intervalString
getLogging()
Get additional text logged.String
getStackTrace()
Get stack trace of exception.String
toString()
-
-
-
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.
-
-