public class LogProfiler.OccurrenceInfo
extends java.lang.Object
Constructor and Description |
---|
LogProfiler.OccurrenceInfo(java.lang.String occurence)
The constructor with the occurrence. * @param occurence the occurrence.
|
LogProfiler.OccurrenceInfo(java.lang.String occurence,
int count,
long totTime,
long minTime,
long avgTime,
long maxTime,
long maxLineNo)
The constructor with all parameters to set. * @param occurence the
occurence. * @param count the count. * @param totTime the totTime. * @param
minTime the minTime. * @param avgTime the avgTime. * @param maxTime the
maxTime. * @param maxLineNo the maxLineNo.
|
LogProfiler.OccurrenceInfo(java.lang.String occurence,
long time,
long lineNo)
The constructor with initial setting. * @param occurence the occurence
|
Modifier and Type | Method and Description |
---|---|
void |
actualizeInfo(long time,
long lineNo)
actualize the info of the occurrence.
|
double |
getAvgTime()
Get the average time of the occurrence.
|
int |
getCount()
Get the count of the occurrence.
|
long |
getMaxLineNo()
Get the Lineno of maximum time of the occurrence.
|
long |
getMaxTime()
Get the maximum time of the occurrence.
|
java.lang.String |
getMethod()
Get the occurrence.
|
long |
getMinTime()
Get the minimum time of the occurrence.
|
long |
getTotTime()
Get the total time of the occurrence.
|
public LogProfiler.OccurrenceInfo(java.lang.String occurence)
public LogProfiler.OccurrenceInfo(java.lang.String occurence, int count, long totTime, long minTime, long avgTime, long maxTime, long maxLineNo)
public LogProfiler.OccurrenceInfo(java.lang.String occurence, long time, long lineNo)
public void actualizeInfo(long time, long lineNo)
public long getTotTime()
public long getMinTime()
public double getAvgTime()
public long getMaxTime()
public long getMaxLineNo()
public int getCount()
public java.lang.String getMethod()